.click() will only work for elements that are present on load you need to use on()
$(document).on("click", ".click_me", function() {
alert('it works!');
});
.click() will only work for elements that are present on load you need to use on()
$(document).on("click", ".click_me", function() {
alert('it works!');
});