How to pass in eventData to .submit()?
<p>The <a href="http://api.jquery.com/submit/" rel="nofollow">documentation</a> doesn't have any example for how to use <code>.submit( [eventData], handler(eventObject) )</code></p>

<p>I have the following function, where I need to pass in the url to the row_save() function.</p>

<pre><code>function row_edit() {
    var url = $(this).attr("href");
    var row = $(this).closest('tr')
    row.load(
        url + "/",
        null,
        function () {
            $("#save-form").submit(url, row_save); // ?? Not sure
        }
    );
    return false;
}


function row_save() {
  var url = ????
  var item = $(this).parent();
  var data = {
    item_description: item.find("#id_item_description").val()    
  };
  $.post(url, data, function (result) {
    if (result != "failure") {
      item.before($("li", result).get(0));
      item.remove();
      $(".row_edit").click(row_edit);
    }
    else {
      alert("Failed to validate before saving.");
    }
  });
  return false;
}
</code></pre>

<p>Thanks</p>
