[ 
https://issues.apache.org/jira/browse/WICKET-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582700#action_12582700
 ] 

Janne Hietamäki commented on WICKET-1454:
-----------------------------------------

I think onkeypress is the safest bet.

http://www.quirksmode.org/js/keys.html

> enter in AutoCompleteTextField submits form 2-4 times
> -----------------------------------------------------
>
>                 Key: WICKET-1454
>                 URL: https://issues.apache.org/jira/browse/WICKET-1454
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>            Reporter: Gerolf Seitz
>             Fix For: 1.3.3
>
>
> in certain conditions, hitting enter in an autocompletetextbox submits the 
> form several times (due to event handling in onkeydown, onkeyup, onkeypress)
> we should kill the event in 2 of the 3 eventhandlers. which one would be the 
> best to keep? onkeypress (since it's the last of the 3 events)?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to