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