Why is it $(window).click doesn’t work in IE. It works is all other browsers. (I can’t use body or document in my page since something else in the page interferes with it.
$(window).click(function() {
do stuff
});
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is simply not supported in IE.
Here’s a compatibility list of browsers’ support for the
clickevent.You’ll see that IE does not support it on the
window.I’d be curious to know what you mean when you say “I can’t use body or document in my page since something else in the page interferes with it.”