Answers for ".on('click',"

2

on click jqueyr

//Click for event to trigger

$( "#target" ).click(function() {
  alert( "Handler for .click() called." );
});
Posted by: Guest on July-25-2020
2

jquery $(document.on click

$(document).on("click","#test-element",function() {});
Posted by: Guest on May-27-2020

Browse Popular Code Answers by Language