SyntaxFix
Write A Post
Hire A Developer
Questions
function handler(event) { var target = $(event.target); if (!target.is("div.menuWraper")) { alert("outside"); } } $("#myPage").click(handler);