jquery for element which doesnt exist on page load

JavaScript
$('body').on('click', '.my_class', function(event) { ...
Source

Also in JavaScript: