#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
comment:2 Changed 15 years ago by
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
Oops, sorry! Just saw the note in the documentation. Will try to do better next time :)
comment:4 Changed 15 years ago by
Component: | unfilled → event |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Marking as wontfix for now - will work up a good implementation here soon.
Oops, should have mentionned that it doesn't work in Internet Explorer only.