dynamically added elements click jquery code example
Example: document on click dynamic element
$(document).on('click', '.class', function() {
// do something
});
$(document).on('click', '.class', function() {
// do something
});