[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
Sat Jul 28 13:02:24 PDT 2007


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





------- Comment #8 from ddkilzer at webkit.org  2007-07-28 13:02 PDT -------
(In reply to comment #7)
> Wow, on the PC, if i hit the space bar, I got an onclick.  Strange!  Never knew
> that.  Now I have to figure out how to set the default button.

The default submit button is always the first <input type="submit"> within the
<form></form> tags, although this may be browser dependent.  I don't think
there's a way to set the default button, but I think it may be overridden an
onsubmit handler (not sure).


-- 
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