I am simply appending an element that is on the DOM like:
$(\"#div_element\").append(\'test\');
Right after I
Add identity to that element then use it as follows
element
$("#div_element").append('test'); $('#tester').on('click', function(event) { console.log('tester clicked'); });