[thelist] Disable submit on return
.jeff
jeff at members.evolt.org
Mon Oct 29 17:02:26 CST 2001
maurice & mike,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Maurice Hendriks
>
> http://javascript.internet.com/forms/disable-submit.html
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
close, but no cigar. the script at the url above doesn't prevent the form
from being submitted when pressing the enter key. it only disables the form
from being submitted more than once.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: "Michael Lessar" <mlessar at lessar.com>
>
> > I need to disable the submit button, for when they
> > hit the return key.
> >
> > I need the form to only submit when they actually hit
> > the submit button.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
it's not a good idea to remove browser functionality that users are
accustomed to.
why do you need to do this? there might be a better solution than
preventing submit when pressing the enter key.
thanks,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list