Mega Code Archive
Categories
/
JavaScript Tutorial
/
Location
Location hostname
The hostname property represents the hostname portion of the URL.
Using the hostname property of the Location object
Click the button to get the current location.hostname
http://www.rntsoft.com