How to force a page to go to another page using JavaScript ?

Bharathi Cherukuri
Posted by Bharathi Cherukuri under JavaScript category on | Points: 40 | Views : 3851
To force a page to go to another page using JavaScript, below mentioned code is used.


<script language="JavaScript" type="text/javascript" >
<!-- location.href="http://newhost/newpath/newfile.html"; //--></script>

Comments or Responses

Login to post response