Values returned by Javascript location search property can be modified using javascript substring, indexof functions and string array. You can extract the values of each query string variable and value ...
Javascript location search property sets or returns the query string variable from the "?" question mark in the current URL. Location search property can change the values for query string ...
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 location reload function of DOM window object provides the functionality to reload or refresh the current web page. You can create function having the code to run the location.reload ...
Javascript Location redirect function can be generated by using any of the location href or window location replace function to redirect the old URL to new location URL.