I've got a div element id='layer' which holds another div id='frame'. I'm trying to make it so when 'layer' is clicked it initiates an event and not it's children ('frame').
One of the nice features of jQuery is that it implements the w3c standard regarding events. You'll want to check is e.target equal.id equal to "layer" or something similar. And this is probably the event bubbling more than capturing (I can't say that with absolute certainty because I don't know how jQuery assigns events), but that's irrelevant.
Last edited by Declan1991; 08-22-2010 at 07:10 PM.
Great wit and madness are near allied, and fine a line their bounds divide.
Bookmarks