There is a form with various input fields and a hidden submit button (hidden using style="display:none").
Interestingly, in Firefox, pressing the return key while an input field is focused automatically submits the form.
However, in Chrome, hitting return does not trigger any action. Is there a way to reintroduce this functionality in Chrome?
If you'd like to test this out yourself, check out the form in Chrome here: http://jsfiddle.net/B59rV/2/
<form method="post" action="/xxxx" accept-charset="UTF-8">
<input type="hidden" value="SSjovFqEfRwz2vYDIsB6JRdtLAuXGmnT+tkyZnrtqEE=" name="authenticity_token">
<div class="input text_field">
<label>Email</label>
<input type="text" size="30" name="user_session[email]" />
</div>
<div class="input text_field">
<label>Password</label>
<input type="password" size="30" name="user_session[password]" />
</div>
<input type="submit" value="Sign In" style="display: none;" >
</form>