Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQuery live or something similar with .change()?

I want to do this: http://docs.jquery.com/Events/live#typefn

Only .live() doesn't support the change event- any ideas for work arounds?

Need to bind a function to some on-the-fly DOM elements, but not until change.

like image 215
Bob Avatar asked Dec 22 '22 09:12

Bob


2 Answers

Note: jQuery 1.4 now supports the live function for all normal events. It didn't work with IE8 until recently, but I believe this is fixed with jQuery 1.4.2. See this resolved jQuery ticket: IE8 DOES NOT SUPPORT THE CHANGE EVENT WHILE USING LIVE

like image 152
Gabe Hollombe Avatar answered Dec 28 '22 05:12

Gabe Hollombe


LiveQuery plugin supports all events.

like image 32
pestaa Avatar answered Dec 28 '22 07:12

pestaa