Answers for "Bind an event handler to the "click" JavaScript event, or trigger that event on an element."

2

on click jqueyr

//Click for event to trigger

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

Code answers related to "Bind an event handler to the "click" JavaScript event, or trigger that event on an element."

Code answers related to "Javascript"

Browse Popular Code Answers by Language