The .on() method in jQuery can be used to handle all jQuery events, and it accepts the event as a parameter. code example
Example: jquery $(document.on click
$(document).on("click","#test-element",function() {});
$(document).on("click","#test-element",function() {});