Javascript location pathname property sets or returns the path of the current URL except hostname or domain name. Location pathname property does not return hostname and query string variables along ...
Javascript location protocol property sets or returns the current protocol used to access the web page. Location protocol returns "http:" if the current web page URL starts with "http:".
Javascript location port property sets or returns the port number of the current host. By default browser does not returns the port number by location.port property of the current host.
Javascript location hostname property sets or returns the hostname i.e domain name or IP address of the host. There is a difference between location.hostname and location.host that location host property ...
Javascript location host property sets or returns the host address as domain name or IP of the host. Normally location host property returns the domain name or sub domain name ...
Javascript location hash property sets or returns the value from the hash sign "#" in the current URL of the browser window. Javascript location hash actually returns the bookmark name ...
Javascript DOM window object provides a location property object that enables you to work with different properties and methods regarding browser window. Javascript location object provides the access to the ...