Bug Tracker

Modify

Ticket #3876 (closed bug: wontfix)

Opened 4 years ago

Last modified 14 months ago

Live event "change" doesn't work

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

Description

This code is working:

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

alert('fired!');

});

But this is not:

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

alert('fired!');

});

Change History

comment:1 Changed 4 years ago by remiprev

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

comment:2 Changed 4 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 4 years ago by remiprev

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

comment:4 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to wontfix
  • Component changed from unfilled to event

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.