#3614 closed bug (invalid)
Keydown event on "window" (Internet Explorer 6)
Reported by: | rickgbw | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | docs | Version: | 1.2.6 |
Keywords: | Cc: | rickgbw, flesler | |
Blocked by: | Blocking: |
Description
The keydown even on window element is not working on my IE6.
Here is a simple example that Im try (works on other browsers):$(window).keydown(function (e) { alert('Key Down!'); });
Change History (3)
comment:1 Changed 15 years ago by
Cc: | rickgbw flesler added |
---|---|
Component: | unfilled → event |
Owner: | changed from flesler to brandon |
comment:2 Changed 15 years ago by
The example in the docs is using window and it is not working in IE (tested with IE7).
comment:3 Changed 14 years ago by
Component: | event → docs |
---|---|
Resolution: | → invalid |
Status: | new → closed |
The keydown event is not supported on the window element. Use document instead. http://www.w3schools.com/jsref/jsref_onkeydown.asp
Note: See
TracTickets for help on using
tickets.
What about using the document ?