1$(document).on( 'click', '.classname', function () {
2alert('clicked');
3});
4
5**** Another Method ****
6// where #wrapper is a static element in which you add the dynamic links.
7$( '#wrapper' ).on( 'click', 'a', function () { alert('clicked'); });
1$(document).ready(function() {
2 $("#clicker").click(function () {
3 alert("Hello!");
4 $(".hide_div").hide();
5 });
6});