The ".click" event you're using only looks for elements that were drawn during the initial page load. The "on" event looks for elements in the current state of the page.
$(document).on("click", ".remove_weight_button", function(){ //do something});
$(".remove_weight_button").click(function(){//do something});
Không có nhận xét nào:
Đăng nhận xét