title: event.preventDefault() working in Chrome, not Firefox for a submit button
body: <p>I have the following submit button:</p>
  
  <pre><code> &lt;input type="submit" name="submit" value="Send" class="mybutton" /&gt;
  </code></pre>
  
  <p>When I use the following code</p>
  
  <pre><code>$(document).ready(function(){
          $("#submit").submit(function(){
                  event.preventDefault();
                  console.log('test');
          }
  });
  </code></pre>
  
  <p>My page is refreshing in Firefox, but not Chrome. Can anyone point me in the right direction?</p>
  
  <p>I would like to use the submit button for a jQuery .ajax call (not a regular form submit)</p>