click function in functional jquery code example Example: jquery onclick function $( "#other" ).click(function() { $( "#target" ).click(); });