title: Close browser tab using JavaScript/jQuery event
body: <p>I have a logout button on which if user clicks, browser tab need to be closed. I have tried with the following method:</p>
  <pre><code>window.close(); 
  </code></pre>
  <p>but its not working in any of the browsers.</p>