How to check a click on everything except a certain object?
I use (not), but I'm not sure how to call the class / id of the whole page.
$(".page").not("#divInfoBox").click(function (event) { }
What is the correct way to specify page in the HTML code, since I have something like:
<html> <body> <div class="page"> </div> </body> </html>
I see the following: clicking on the top half of the page works; but at the bottom of the page, where there is nothing but the background color, the click is not registered, because it is "outside the page" - how can this be expanded so that the click works everywhere?
Thanks Michael
jquery html
Dirk Jul 10 '09 at 14:22 2009-07-10 14:22
source share