Page is a not externally linkable
- Browsers
-- Opera Browser Usage and Support
---- How to disable "keydown event" Opera browser for specific keystrokes ?


seoul - 3:42 am on Mar 10, 2010 (gmt 0)


I've found my solution. I need to work on keypress event in opera.

Opera can't output the correct code in keypress event ( it gives 46 for both delete and dot button). But in keydown event it gives the correct code. So at first i detected if it were an opera browser, then i took the keycode from keydown event, saved in a variable and finally in keypress performed my tasks.

For other browsers the code will run normally in keydown event. Opera is an exception. You can find the code at: [code.google.com ]


Thread source:: http://www.webmasterworld.com/opera_browser/4090195.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com