Jquery Selecting Dynamically Generated Html Without Adding Event (with Live)
Several posts on stackoverflow say to use live to select dynamically generated html. However you need an event like click to use live. What do you do if you just want to use .val o
Solution 1:
You can use a plugin called "livequery" and do something like this:
$(selector).livequery(function(){
});
As you can see, there is no click
or other event that you must use.
Plugin link: http://docs.jquery.com/Plugins/livequery
On github: https://github.com/brandonaaron/livequery
Hope this helps :-)
Post a Comment for "Jquery Selecting Dynamically Generated Html Without Adding Event (with Live)"