Skip to main content

Bug Tracker

Side navigation

#8508 closed bug (wontfix)

Opened March 12, 2011 12:28PM UTC

Closed November 18, 2011 03:09PM UTC

Change event does not fire on IE8 for css hidden inputs

Reported by: Owned by:
Priority: high Milestone:
Component: event Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:

What the summary says..

The change event for css hidden inputs fires on other browsers i've tested, FF 3.5+, Chrome 9+, Safari 5, Opera 11.

But not in IE8, i haven't tested older versions but i'm almost sure is going to be the same result.

Bug in action:

Attachments (0)
Change History (3)

Changed March 14, 2011 02:55PM UTC by rwaldron comment:1

component: unfiledeffects
priority: undecidedhigh
status: newopen

Confirmed. Clicking the label area should trigger a change event on the checkbox input

Changed March 14, 2011 02:55PM UTC by rwaldron comment:2

keywords: → needsreview

Changed November 18, 2011 03:09PM UTC by dmethvin comment:3

component: effectsevent
keywords: needsreview
resolution: → wontfix
status: openclosed

IE just refuses to fire events on an invisible checkbox. A workaround would involve attaching a click event to the corresponding label and then guarding against a duplicate invocation if there was also a click event attached to the checkbox itself. Also there is the case of a label wrapped around the checkbox itself, where a click event on the visible checkbox would bubble up to the label.

Given all those special cases, this isn't practical to fix inside jQuery. It is easier to fix at the application level where you know which of the cases apply to the code and markup.