title: ajaxForm(options) what should be passed to the options?
body: <pre><code>$(document).ready(function() {
      var options = {
          target: '#output1', // target element(s) to be updated with server response 
          beforeSubmit: showRequest, // pre-submit callback 
          success: showResponse // post-submit callback
      };
  
      $('#myForm1').ajaxForm(options);
  });
  
  function showRequest(formData, jqForm, options) {
      var queryString = $.param(formData);
      alert('About to submit: \n\n' + queryString);
      return true;
  }
  
  function showResponse(responseText, statusText) {
      alert('status: ' + statusText + '\n\nresponseText: \n' + responseText +
          '\n\nThe output div should have already been updated with the responseText.');
  }
  </code></pre>
  
  <p>In the above program what is passed in the option argument?I use the <a href="http://jquery.malsup.com/" rel="nofollow noreferrer">http://jquery.malsup.com/</a> </p>