Basic JavaScript Question:
Download Questions PDF

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

Answer:

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

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

//-->
</script>

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
How to reload the current page?How to convert a string to a number using JavaScript?