in reply to Re: can anyone explain this codeinput type=
in thread can anyone explain this codeinput type=

Errr, small point, but the onSubmit handler is part of client side JS version 1.0

So yes, you can disable submission using an onSubmit handler in your FORM tag, but you can't rely on it always working (but for 90% of users it will do the trick).

cLive ;-)

  • Comment on Re: can anyone explain this codeinput type=

Replies are listed 'Best First'.
Re: Re: can anyone explain this codeinput type=
by Eureka_sg (Monk) on Apr 18, 2001 at 08:37 UTC

    I'm not talking about disabling submission using onSubmit. I'm refering to capturing the "ENTER" key press event on the browser window and preventing the event to be routed to the form object.