title: why my div is not hiding again after any click outside of that div?
body: <p>i have created a hidden div..and after clicking my log in button the div appears..but after clicking anything outside of that div i want to disappear my div...how???</p>
  
  <p>my button</p>
  
  <pre><code>&lt;asp:Button ID="loginbutton" runat="server" Text="Login"  OnClientClick=" return   someFunction();"/&gt;
  </code></pre>
  
  <p>my script</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function someFunction() {
      $("#logdiv").show();
     // document.getElementById('logdiv').style.display = "block";
      return false;
  }
  </code></pre>