In my web app, there is a separate navbar for mobile devices. I want this navbar to collapse when the menu button is clicked or anywhere else in the site is clicked. It alre
You can create a div container for the entire page, and bind it to a click event.
If you click anywhere. I will hide ... ...
If you click anywhere. I will hide