jQuery Нажмите, не работая над загруженным контентом AJAX
$(document).on("click", '.mylink', function(event) {
alert("new link clicked!");
});
Indian Gooner
$(document).on("click", '.mylink', function(event) {
alert("new link clicked!");
});
The problem is that .click only works for elements already on the page.
You have to use something like on if you are wiring up future elements
$("#LangTable").on("click",".deletelanguage", function(){
alert("success");
});