$(".target-menu").mouseout(function(e){ evt = || e; var obj = || ; var pa = this; if((obj)) return false; $(this).hide(); });