Hiding div tag when the user clicks outside the div tag.

Posted by Madhu on Stack Overflow See other posts from Stack Overflow or by Madhu
Published on 2009-10-13T10:40:05Z Indexed on 2010/03/30 10:33 UTC
Read the original article Hit count: 240

Filed under:

Hi friends, I have a div tag and I am populating the search results on a custom grid, which is placed inside this divtag.

When a user click on the search button, i am displaying the results in the above mentioned div tag.

I have a requirement to close the above div tag when the user clicks outside the div tag.

It is similar to google search auto comlete.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about divs