The reason being that when I have an autocomplete field the user will start type something in the field and can arrow down and hit enter when on the selected item. However, if they have "outtyped" the field and there is no option select (none returned in the autocomplete) they are hitting enter by habit from that field and inadvertently submitting the form.
So really, I only need it disabled so long as they're in the autocomplete field. On 3/26/07 5:07 PM, "Mike Alsup" <[EMAIL PROTECTED]> wrote: >> Except that they'll need to submit the form when the click the submit >> button. I just don't want them submitted the form when they hit enter on >> the keyboard. > > But that is the default and *expected* behavior. Is there a good > reason to intentionally alter standard behavior? > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/