Bug Tracker

Modify

Ticket #3614 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

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
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by flesler

  • Cc rickgbw, flesler added
  • Owner changed from flesler to brandon
  • Component changed from unfilled to event

What about using the document ?

comment:2 Changed 4 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 4 years ago by brandon

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from event to docs

The keydown event is not supported on the window element. Use document instead.  http://www.w3schools.com/jsref/jsref_onkeydown.asp

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.