Keyboard events in IE9 html explorer bar -
- claim: keyboard events aren't dispatched in ie9 html explorer bars.
- proof: try running html below in ie9 html explorer bar.
- expected: alert should shown after pressing key anywhere on document (of explorer bar - note alert shown loading html normal ie9 tab).
- actual: nothing happens.
- the question is: can ie9 html explorer bar configured enable keyboard event handling?
the html:
<!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ie9</title> </head> <body> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.js"></script> <script> $(document).ready(function() { alert("before event registration"); $(document).keydown(function() { alert("inside event handler"); }); }); </script> </body> </html>
after re-checking issue on colleagues' machines found out doesn't reproduce there - it's specific machine , sounds "glitch". made me happy.
Comments
Post a Comment