hide a div when user clicks outside of it

Solutions on MaxInterview for hide a div when user clicks outside of it by the best coders in the world