Basic JavaScript Question:

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

Tweet Share WhatsApp

Answer:

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

location.href="http://www.globalguideline.com";

//-->
</script>

Download JavaScript PDF Read All 114 JavaScript Questions
Previous QuestionNext Question
How to reload the current page?How to convert a string to a number using JavaScript?