Box disappear, when clicking elsewhere on the document? (jQuery)
Posted
by Martti Laine
on Stack Overflow
See other posts from Stack Overflow
or by Martti Laine
Published on 2010-03-31T14:30:06Z
Indexed on
2010/03/31
14:43 UTC
Read the original article
Hit count: 276
Hello
I'm showing a hidden box with jQuery on link-click. Now the box disappears when clicking the link again, but how to make it so it kinda "loses focus" and hides. SO, when user click somewhere on document (but not the box itself), it disappears.
Suggestions?
Martti Laine
© Stack Overflow or respective owner