title: How to close menu by click in other place on website jquery
body: <p>Hi guys how can I close menu by jquery by click on other place.</p>
  
  <pre><code>&lt;div class="noticemenu"&gt;
      &lt;label for="menu-toggle3"&gt;&lt;/label&gt;
      &lt;input type="checkbox" id="menu-toggle3"/&gt;
      &lt;ul id="menu"&gt;
          &lt;li class="option"&gt;
              &lt;a href="#" &gt;First link&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="option"&gt;
              &lt;a href="#"&gt;Second link&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="option"&gt;
              &lt;a href="#"&gt;Third link&lt;/a&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>For example I could open menu after click on icon and could close the menu if clicked on same icon. I want to close menu when I click on free place on website. But I don't know how to do this in jQuery on above example.</p>