Google News
logo
JavaScript - Interview Questions
How can a page be forced to load another page in JavaScript?
The following code has to be inserted to achieve the desired effect:
 
<script language="JavaScript" type="text/javascript" >
   <!-- location.href="https://freetimelearning.com/javascript/index.php"; //-->
</script>
Advertisement