js trigger mouseleave code example Example: on mouse not over jquiery $( "#other" ).click(function() { $( "#outer" ).mouseleave(); });