Assign a URL to location : location : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Objects » location »

 

Assign a URL to location



    
<html>
<body>
<script language="JavaScript">
    function function1() {
        location.assign("http://www.navioo.com/");
    }
</script>
<input type="button" value="Load new page" onclick="function1();">
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» location