Blog archive for October 2013
Skip jQuery document.one event for certain elements
October 4th 2013
2991

document.one jquery event

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.