URL of a document : Hyper Link : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Hyper Link »

 

URL of a document



<html>
<head>
<script type="text/javascript">
  
  function showURL(){
    alert(document.URL)
  }

</script>
</head>

<body>
    
    <form>
    
        <input type="button" onclick="showURL()" value="Show URL">
    
    </form>
    
</body>

</html>



           
       



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Hyper Link