title: jquery form submit not triggered when passing event data
body: <p>I am trying to submit a form with event data on click of a button. I have following jquery code to fire the event. But it's not getting triggered.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(function() {
  
    $('#button1,#button2').on('click', function(e) {
      //e.preventDefault();
      $('form#form1').submit({
        "url": "url"
      }, doSomethint);
    });
  
    function doSomethint(e) {
      var url = ev.data.url;
      alert(url);
    }
  
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;button type="submit" id="button1"&gt;Button1&lt;/button&gt;
  &lt;button type="submit" id="button2"&gt;Button2&lt;/button&gt;
  
  &lt;form id="form1"&gt;
    &lt;input type="text" value="123"&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://jsfiddle.net/1bdesjof/" rel="nofollow noreferrer">https://jsfiddle.net/1bdesjof/</a> </p>