Hello, I've got a menu on my page that opens when clicked, and stays open until it's reclicked or the user clicks anywhere else on the page. Basically, it behaves the same as an application menu. The problem is that a large part of the page is occupied by an iframe and I can't figure out how to get a click there to register. Here's the code:
This works: $("#leftPanel,#banner").click(function(){ hideMenu(); }); Neither of these (and several other attempts) don't work: $("*:not(#menu)").click(function(){ hideMenu(); }); $("#iframeContent").click(function(){ hideMenu(); }); Any advice would be greatly appreciated. Thanks!