Before jQuery 1.8, I was able to use .live () to start when I clicked the button that jQuery had dynamically inserted.
Now, .on () and .bind () do not work for elements added to the DOM after the page loads.
What are the options now?
$(parent_element).on("click", child_selector, function(evt) { });
http://api.jquery.com/on/#direct-and-delegated-events
, -, . , , , , , . Model-View-Controller, , , . HTML-, , .
,
$(document).delegate('click', "selector", function() { //your stuff });