Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript to get uri

var newURL = window.location.protocol + "//" + window.location.host + "/" + window.location.pathname + window.location.search
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #javascript #uri
ADD COMMENT
Topic
Name
2+4 =