write a method on click jquery code example Example: jquery onclick function $( "#other" ).click(function() { $( "#target" ).click(); });