jquery onclick new object 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." );
});