2 | | This happens because the browser (not only IE, i have tested IE 6-7, Firefox 3.6.8, Opera 11.01, Chrome), when user press key "Enter" in text or password field, then the browser after (keydown, keypress, keyup) events send "click" event to the first submit or image button. That's why handler is called twice |
| 2 | This happens because the browser (not only IE, i have tested IE 6-8, Firefox 3.6.8, Opera 11.01, Chrome 10, Safari 5.0.4), when user press key "Enter" in text/password input field, then the browser after keydown/keypress/keyup events send "click" event to the first submit/image button. That's why handler is called twice. I guess that keypress.specialSubmit is unnecessary |