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

Reply via email to