title: How to disable location bar and scroll bars of pop window in Chrome?
body: <p>For the following code width and height are working in Chrome but location and scrollbar are not working. Please guide.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script language="JavaScript"&gt; 
    function newwindow() { 
      window.open('http://localhost/a.php', 'jav',
          'width=300,height=200,resizable=yes,location=no,scrollbars=no'); 
    } 
  &lt;/script&gt;
  
  &lt;a href="javascript:newwindow()"&gt;Click Here&lt;/a&gt;
  </code></pre>