Topic: Disable Form Submit FF 2.0} |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Phoenix |
![]() ![]() ![]() ![]() Does anyone know how to disable the default behaviour of a form submit when hitting the enter key? Specifically with FF 2.0, as it is not working for this browser. I am doing this: code: if(event.keycode == 13) // do nothing with enter key (select dropdown instead) return false;
|
Paranoid (IV) Inmate From: Norway |
![]() ![]() ![]() ![]() |
Bipolar (III) Inmate From: Phoenix |
![]() ![]() ![]() ![]() That works. Thanks! |