Saturday, July 30, 2016

jquery - Unable to hide a certain div when click outside of it

I'v searching for a way to hide a toggling div which is already hidden by default. I want to hide the div if user click outside of it!




I tried this:







But i don't know what's wrong with my code. Please can anyone help?

No comments:

Post a Comment