Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get url in javaScript

location.protocol

location.hostname

location.pathname

location.hash

location.href
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #url #javaScript
ADD COMMENT
Topic
Name
4+5 =