Posts Tagged with live click

Displaying 1-1 of 1 result.
Resolved: jquery click doesnt work on ajax generated content
posted by admin on September 4, 2016
I am using $(".button").on("click", function(){ });

to click to a button which is on a container but then an ajax call is done and the content gets updated with new stuff and then when i try to click .button it wont work... nothing will get returned when i click the button.

I even tried

$(".button").live("click", function(){ });


$(".button").click(function(){ });
Read more