Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#3876 closed bug (wontfix)

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!');

});

Change History (4)

comment:1 Changed 15 years ago by remiprev

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

comment:2 Changed 15 years ago by dmethvin

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

comment:3 Changed 15 years ago by remiprev

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

comment:4 Changed 15 years ago by john

Component: unfilledevent
Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.