Target Every Element…Except One

Sometimes I need to have an action, like closing/hiding a menu, that requires the ability to click anywhere but the div/menu itself in order to take an action. Here is a neat way I found to do such a thing. Thanks Sandeep!

You will of course have to edit this to work for your project.