From an admin page if the user is valid then the browser should go to another page.
When a user enters his user name and password, then clicks the OK button then another
Try this,
window.location.href="sample.html";
Here sample.html is a next page. It will go to the next page.
sample.html