title: How to close a window using jQuery
body: <p>How to close a window using jQuery for all browser compatibility?</p>
  
  <pre><code>&lt;input type="button" 
         name="backButton" 
         value="Close" 
         style="background-color:#245f91; color:#fff;font-weight:bold;" 
         onclick="window.close();"&gt;
  </code></pre>
  
  <p>This <code>onclick</code> event is working in IE. Could you help me to write code in jQuery?</p>