jquery if mouseleave to top of element code example Example: on mouse not over jquiery $( "#other" ).click(function() { $( "#outer" ).mouseleave(); });