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>

2011-06-14, 2776👍, 0💬