Skip to main content

Bug Tracker

Side navigation

#6877 closed bug (duplicate)

Opened August 05, 2010 06:32PM UTC

Closed October 09, 2010 11:13PM UTC

Last modified March 13, 2012 10:14PM UTC

Change event not firing on select box on keypress

Reported by: meyerovb Owned by:
Priority: undecided Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: Cc: bryanam@gmail.com
Blocked by: Blocking:
Description

Test the attached code on ie8 by pressing the down key on the keyboard once the page loads. No alert box appears until you blur the select box. Change the jquery version to 1.2.3 instead of 1.4.2, and you get an alert as soon as you press the down key.

Attachments (1)
Change History (2)

Changed October 04, 2010 06:35AM UTC by addyosmani comment:1

need: ReviewPatch
priority: → undecided

I've examined your code and tested it across both IE8 and several other browsers (Safari, Chrome, FF) to verify the behaviour experienced.

Although you are able to trigger the alert in IE by manually changing the selected item, as you rightly say - attempting to do this from the keyboard does not execute the alert as it should.

An alternative workaround could be created by modifying your original solution using .keydown() or .keyup() to detect the keystrokes applied to the select.

Flagging for review and possible patch.

Changed October 09, 2010 11:13PM UTC by john comment:2

resolution: → duplicate
status: newclosed

Duplicate of #6374.