jquery only add click event if it does not exist code example
Example: jquery for element which doesnt exist on page load
$('body').on('click', '.my_class', function(event) { ...
$('body').on('click', '.my_class', function(event) { ...