[Webkit-unassigned] [Bug 14382] Enter key does not trigger onclick when focus on a button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 17:01:12 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14382





------- Comment #3 from pacified at soapblox.net  2007-07-27 17:01 PDT -------
I guess I'm exposing my ignorance here, but even if it were behaving like a
type="button", shouldn't the onclick still fire before the onsubmit?

Here's the code I'm using which isn't behaving correctly:

<input name="submitType" value="Preview" onclick="preview(this.form)"
type="button">

I tab to the button, hit enter, and it goes right to the onsubmit event


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list