Jquery - Click outside and Hide Div
问题 I am using this: http://www.useful-dates.com/search/ How should the script be written to say, 1. When the user clicks the input, the scrolled div is shown. 2. When the user click outside of the scrolled div, the scrolled div hides. Like this, but i have had no luck re-writting the script: http://rob-bell.net/static/ddlist.html Iv searched and tried all kinds of things on the net and no luck, please help? 回答1: The easiest way of doing this is when your script is triggered to display the list