Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript location.href

//example 1
document.getElementById("lbl_url").innerHTML = "Page location is " + window.location.href;
//example 2
var x = location.href;
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
3+9 =