Really easy question here. I did some searching and nothing obvious returned. I am creating a quick search box for my site. I got it so that it expands out and collapses as expected. However, what I want to do is also hide it whenever i lose focus of the container altogether. That way it is not taking up space when the user clicks somewhere else on the site.
Is this possible?