query: javascript when click other place close the box
positive_passages.docid: 4955
positive_passages.text: How do I detect a click outside an element?
negative_passages.docid: 6167
negative_passages.text: Why don't self-closing script elements work?
negative_passages.docid: 97425
negative_passages.text: JavaScript, browsers, window close - send an AJAX request or run a script on window closing
negative_passages.docid: 146884
negative_passages.text: window.close and self.close do not close the window in Chrome
negative_passages.docid: 38788
negative_passages.text: Use jQuery to hide a DIV when the user clicks outside of it
negative_passages.docid: 5901
negative_passages.text: What exactly happens with the button "Leave Open" (previously "Do Not Close")?
negative_passages.docid: 102569
negative_passages.text: When a user closes a , hide that  on all site pages
negative_passages.docid: 21756
negative_passages.text: Run script on closing web page
negative_passages.docid: 74602
negative_passages.text: jquery-ui-dialog - How to hook into dialog close event
negative_passages.docid: 152873
negative_passages.text: JavaScript Form Submit - Confirm or Cancel Submission Dialog Box
negative_passages.docid: 149262
negative_passages.text: Bug when clicking through closing options
negative_passages.docid: 28593
negative_passages.text: How to stop event propagation with inline onclick attribute?
negative_passages.docid: 62796
negative_passages.text: jQuery: Uncheck other checkbox on one checked
negative_passages.docid: 116107
negative_passages.text: hide div if clicked outside of it
negative_passages.docid: 30486
negative_passages.text: Disabling the Close-Button temporarily
negative_passages.docid: 31643
negative_passages.text: Is it OK to use a self closing DIV tag?
negative_passages.docid: 44115
negative_passages.text: IE must close for event with jQuery to work