[jQuery] Disable enter button submitting form

[jQuery] Disable enter button submitting form

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.





    • Topic Participants

    • senos