I have a div that is set to display:inline using the onclick() JS event handler. How do I make the div go back to display:none when I click any where else on the page other than the now visible div?
I've Googled about blur and setting the focus to another element but I don't know how to actually do it.