Title: RE: RE: Witango-Talk: Tango stops processing in the middel of a presentation page.

Here is a quicky taf

That uses javascript

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller
http://www.pcforge.com/WitangoGoodies.htm 
Latest downloads & List Archives @
http://www.witango.ws

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Shelley
Sent: Wednesday, June 12, 2002 10:27 AM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Enter submits form

 

I don't recall if this has been discussed before, but in IE pressing the Enter key will submit a form. Is there an easy way to prevent this from happening?

 

Maybe an onSubmit handler to check the last key pressed or button clicked and the type of the object in focus and return false if the Enter key was pressed on anything other than a submit button. How would you get the last keystroke of click value?

 

Thanks.

Dave Shelley

Attachment: TestEnter.taf
Description: Binary data

Reply via email to