can you put jquery in a onclick method code example Example: jquery onclick function $( "#other" ).click(function() { $( "#target" ).click(); });