[jQuery] Access formData in ajaxForm

[jQuery] Access formData in ajaxForm

<div>Hi all.</div>
<div> </div>
<div>I can find no documentation on how to access the form data in a beforeSubmit function in the Form plugin. I can see in Firebug that all my fields is populated correct and it's no problem to fetch the data on the server. But I have no idea how the syntax is in the beforeSubmit function. I feel like I've tried everything now... including:
</div>
<div>// validate function
 function validate(formData, jqForm){
  //alert($("input[@name=rdoType]:checked").val());
  var formElment = jqForm[0];
  var queryString = $.param(formData);
    
    // jqForm is a jQuery object encapsulating the form element.  To access the
    // DOM element for the form do this:
    // var formElement = jqForm[0];
   alert(formData.name['rdoType'])
  //alert(
this.rdoType.value);
      //alert('About to submit: \n\n' + queryString);
  // alert('About to submit: \n\n' + $().each(formData, function(i,n){alert("Name: " + i +
  // ", Value " + n); }));
</div>
<div>....</div>
<div> </div>
<div>Thanks in advance!</div>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/