title: Form with two inputs not submitting?
body: <p>Could someone please explain why this code isn't working:</p>
  
  <pre><code>$('form').on('submit', function (e) {
      e.preventDefault();
  
      var first = $('.first').val();
      var next = $(".next").val();
      alert(first + " " + next);
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/cj1hysf3/" rel="noreferrer">http://jsfiddle.net/cj1hysf3/</a></p>
  
  <p>It seems to work fine when I remove one of the two inputs but having them both there messes it up. </p>