Change Enter from submission to Tab?
<p>Users don't like the fact that the Enter key submits the page.  So I am tasked with preventing the submission and changing the Enter key to a Tab to the next field.</p>

<p>I have tried many javascript snippets found on the net but none have worked so far.  The only one that has even come close to having an effect was e.preventDefault() of the jQuery API, which stops the submit, but nothing I have tried emulates the tab behavior.</p>

<pre><code>e.returnValue = false;
e.cancel = true;
</code></pre>

<p>Page still submits with the above in the keydown event handler.  Same effect with <code>return false</code> in the keydown event handler.  The handler is firing, tested by putting a breakpoint in it with firebug.</p>

<p>This needs to work with both IE and Firefox.</p>

<p>Don't say "don't do this".<br>
1) I'm already convinced that I shouldn't do it, but it's not a choice that is mine, so the discussion is mute.<br>
2) It would be an answer to the question "Should I do this?", which is not the question that I am asking.</p>
