Entries for month / October 2012

Oct 04 / Skip jQuery document.one event for certain elements
Tags / Tips & Tricks, / jQuery
View count: 16054

document.one skip solution

So, the situation here is very straigth forward: you want to use $(document).one handler on something like pop-up settings box, which should be closed if user clicks anywhere outside of it. But what if the settings box in question has some elements inside it that need a separate handling and should keep the box open? Read inside on how to skip document.one event in such cases.

[ Read more ]