Skip to main content

Bug Tracker

Side navigation

#3909 closed bug (fixed)

Opened January 19, 2009 02:39AM UTC

Closed February 13, 2009 03:13AM UTC

Last modified March 14, 2012 11:57AM UTC

The event "select" does not work in IE7

Reported by: Betty Owned by: aflesler
Priority: major Milestone: 1.3
Component: event Version: 1.3
Keywords: select Cc:
Blocked by: Blocking:
Description

Even the example provided in official docs does not work in IE7:

http://docs.jquery.com/Events/select

With IE7, if you select some text in the input fields, nothing happens.

Please fix it. Thanks.

Attachments (0)
Change History (3)

Changed January 19, 2009 03:01AM UTC by dmethvin comment:1

Confirmed with both jQuery 1.3 and 1.2.6 so it's not a regression from there. Also fails in IE8 beta 2.

The problem seems to be that the select event does not bubble in IE. The demo attaches the select event to the document. If you change it to attach directly to the two inputs the demo works correctly.

The best fix may be to document that the event doesn't bubble and change the demo accordingly.

Changed January 19, 2009 03:12AM UTC by dmethvin comment:2

owner: brandonaflesler

Changed February 13, 2009 03:13AM UTC by dmethvin comment:3

resolution: → fixed
status: newclosed

It doesn't look like the select event bubbles in IE8 either, so I updated the documentation to use ":text" as a selector.