Skip to main content

Bug Tracker

Side navigation

#3876 closed bug (wontfix)

Opened January 15, 2009 04:14PM UTC

Closed January 17, 2009 10:24PM UTC

Last modified March 15, 2012 02:54PM UTC

Live event "change" doesn't work

Reported by: remiprev Owned by:
Priority: major Milestone: 1.3.1
Component: event Version: 1.3
Keywords: Cc:
Blocked by: Blocking:
Description

This code is working:

$('input').bind('change', function() {

alert('fired!');

});

But this is not:

$('input').live('change', function() {

alert('fired!');

});

Attachments (0)
Change History (4)

Changed January 15, 2009 04:15PM UTC by remiprev comment:1

Oops, should have mentionned that it doesn't work ''in Internet Explorer'' only.

Changed January 15, 2009 04:50PM UTC by dmethvin comment:2

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

"Currently not supported: blur, focus, mouseenter, mouseleave, change, submit"

Those events might be added in the future, but for now it's working as documented.

The reason it's IE-specific is that IE doesn't bubble change events although the W3C says it should:

http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-htmlevents

Changed January 15, 2009 07:25PM UTC by remiprev comment:3

Oops, sorry! Just saw the note in the documentation. Will try to do better next time :)

Changed January 17, 2009 10:24PM UTC by john comment:4

component: unfilledevent
resolution: → wontfix
status: newclosed

Marking as wontfix for now - will work up a good implementation here soon.