how to get a button to respond to a function jquery code example
Example 1: jquery onclick function
$( "#other" ).click(function() {
$( "#target" ).click();
});
Example 2: on click jqueyr
//Click for event to trigger
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});