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