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

Q

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

✍: Guest

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

2009-02-17, 6198👍, 0💬