|
Very simple solution: 1) Don’t have a type=”submit” input element 2) Have more than one type=”text” input element on the
page If you only need one text input box, then
you could throw this in the form and it will work: <input type="text"
name="dummy" style="display:none"> Good luck, Cory Whitsett -----Original Message----- 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 |
Title: RE: RE: Witango-Talk: Tango stops processing in the middel of a
presentation page.
- Witango-Talk: Tango stops processing <@ tags> ... Bryan Hughes
- RE: Witango-Talk: Tango stops processing <@ ... Ben Johansen
- Re: Witango-Talk: Tango stops processing <@ ... Roland Dumas
- RE: Witango-Talk: Tango stops processing <@ ... Steve Smith
- Re: Witango-Talk: Tango stops processing <@ ... [Gauthier]
- RE: Witango-Talk: Tango stops processing <@ ... Cory Whitsett
- Re: Witango-Talk: Tango stops processing <@ ... [EMAIL PROTECTED]
- RE: RE: Witango-Talk: Tango stops processing &... Bryan Hughes
- Re: RE: Witango-Talk: Tango stops processin... Rick Sanders
- Witango-Talk: Enter submits form Dave Shelley
- Re: Witango-Talk: Enter submits for... Cory Whitsett
- Re: Witango-Talk: Enter submits for... Brian Mowers
- RE: Witango-Talk: Enter submits for... Ben Johansen
- RE: Witango-Talk: Enter submits for... Anthony M. Humphreys
- Re: Witango-Talk: Enter submits for... Brad Robertson
- Re: Witango-Talk: Tango stops processing &l... Roland Dumas
- Re: Witango-Talk: Tango stops processing &l... Dan Stein
