Bug Tracker

Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#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 flesler

Cc: rickgbw flesler added
Component: unfilledevent
Owner: changed from flesler to brandon

What about using the document ?

comment:2 Changed 15 years ago by gregoirecach

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 brandon

Component: eventdocs
Resolution: invalid
Status: newclosed

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.