title: How to go from one page to another page using javascript?
body: <p>From an admin page if the user is valid then the browser should go to another page.</p>
  
  <p>When a user enters his user name and password, then clicks the OK button then another page is displayed and the login page is automatically closed.</p>
  
  <p>How can I do this with JavaScript?</p>