다음과 같이 코드 코드를 복사합니다. $(".target-menu").mouseout(function(e){ evt = window.event || var obj = evt.toElement || var pa = 이것; if(pa.contains(obj))는 false를 반환합니다. $(this).hide(); });