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