Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get browser url in javascript

function getURL() {
  alert("The URL of this page is: " + window.location.href);
}
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #browser #url #javascript
ADD COMMENT
Topic
Name
5+8 =