Answers

Question and Answer:

  Home  Expert JavaScript Developer

⟩ How can a page be forced to load another page in JavaScript?

The following code has to be inserted to achieve the desired effect:

XHTML

<script language="JavaScript" type="text/javascript" >

<!-- location.href="http://newhost/newpath/newfile.html"; //--></script>

 166 views

More Questions for you: