JQuery Form Plugin with multiple submit buttons
<p>I'm using the JQuery Form Plugin (http://jquery.malsup.com/form/) to create an Ajax Form.</p>

<p>I am trying put two submit buttons to handle Form Submit and Form Save operations. I need to submit to two different urls depending on the operation I want to perform: Submit or Save.</p>

<p>I'm not very sure how I can get the value of the actual submit button that was clicked, and then submit the form via AJAX based on this information. I need a little help with this.</p>

<p>For the record, I'm using code syntax similar to what is listed below (this is not the actual code):</p>

<pre><code>// prepare Options Object 
var options = { 
    target:     '#divToUpdate', 
    url:        'comment.php', 
    success:    function() { 
        alert('Thanks for your comment!'); 
    } 
}; 

// pass options to ajaxForm 
$('#myForm').ajaxForm(options);
</code></pre>

<p>Thanks</p>
