trigger button using jquery w3schools code example Example: jquery onclick function $( "#other" ).click(function() { $( "#target" ).click(); });