I have a problem with my javascript function :
$(".like-btn").click(function () { .. }
this function is not triggered anymore after in my javascript somewhere else I do stuff like
$("#1021").append("'<button type="submit" class="btn btn-default like-btn" ... .etc ");
So basically I need my jquery to be triggered also after I add some more html on my page.