title: Submitting a form by hitting return when the submit button is hidden; works in Firefox, does nothing in Chrome
body: <p>I have a form with some input fields and a hidden submit button (hidden via style="display:none").</p>
  
  <p>When you hit the return key when an input field is focused in Firefox, the form submits.</p>
  
  <p>However in Chrome, when you hit return, nothing happens. I was wondering, how do you add this functionality back to Chrome?</p>
  
  <p>Here's the form, take a look at it in Chrome:
  <a href="http://jsfiddle.net/B59rV/2/" rel="noreferrer">http://jsfiddle.net/B59rV/2/</a></p>
  
  <pre><code>&lt;form method="post"  action="/xxxx" accept-charset="UTF-8"&gt;
  
      &lt;input type="hidden" value="SSjovFqEfRwz2vYDIsB6JRdtLAuXGmnT+tkyZnrtqEE=" name="authenticity_token"&gt;
  
      &lt;div class="input text_field"&gt;
      &lt;label&gt;Email&lt;/label&gt;
      &lt;input type="text" size="30" name="user_session[email]" /&gt;
    &lt;/div&gt;
  
    &lt;div class="input text_field"&gt;
      &lt;label&gt;Password&lt;/label&gt;
      &lt;input type="password" size="30" name="user_session[password]" /&gt;
    &lt;/div&gt;
  
  
      &lt;input type="submit" value="Sign In" style="display: none;" &gt;
  
  &lt;/form&gt;
  </code></pre>