jquery on.( code example Example: on click jquery $( "#target" ).click(function() { alert( "Handler for .click() called." ); });