I have on log in page if user enters both user name and password same then i have to forward user to next page how is it possible.
how do i do this?
Try this:
window.location.replace("http://stackoverflow.com");