레이어 바깥 클릭 시 레이어 사라지게 하는 방법 $(document).mouseup(function(e){var container = $("해당레이어 아이디");if(container.has(e.target).length===0)container.hide();}); WEB/jQuery 2018. 10. 5. 00:47