I'm using the jquery selectbox plugin for a new project.
Is there a way to tell jquery to close it if a click isn't within the dropdown box?
They have a close button in the demo, but I want to apply the same idea to the whole page with out adding an additional element.
The function for this is:
I just really need to know how to set the trigger outside of the menu. Jquery's datepicker (http://jqueryui.com/demos/datepicker/
) calendar uses jqueries ui and manages to hide the element when the calendar is showing