Location object, PHP Web Programming

Assignment Help:

This is part of a Window object & it is accessed by the window. location property. It has the complete URL of any given Window object, or, if none is denoted, of current Window object. Syntax: All its properties are strings representing distinct portions of the URL, generally which takes the given form:

<protocol>//<host>[:<port>]/<pathname>[<hash>][<search>]

You can build a Location object through simply assigning a URL to the location property of an object:

Property

Description

Hash

The hash property is a string starting with a hash (#), which specifies an anchor name in an HTTP URL

Host

The host property is a string including the hostname & port strings.

hostname

The hostname property denote the server name, subdomain & domain name (or IP address) of a URL.

Href

The href property is a string defining the entire URL, and of which all other link properties are substrings.

pathname

The pathname property is a string portion of a URL defining how a specific resource can be accessed.

Port

The port property is a string defining the communications port that the server uses.

protocol

The protocol property is the string at the beginning of a URL, up to and

 Including the first colon (:), that specifies the method of access to the URL.

Syntax:              window.location = "file:///C:/Projects"


Related Discussions:- Location object

Pre tag, This tag is utilized to present the text precisely as written in t...

This tag is utilized to present the text precisely as written in the code, by including whitespace characters. This is terminated by a tag.  Take the example illustrat

We need help to modify a web page, We need help to Modify a web page We ...

We need help to Modify a web page We need help to Modify a web page to include posting a new category to our menu including add Add heading as well as text to our current web

Html5 based txt/csv data file charter, HTML5 Based TXT/CSV Data File Charte...

HTML5 Based TXT/CSV Data File Charter In search of a web developer to create a HTML5/JavaScript based web application to import tab delimited or comma separated information from

Need to setup free pbx asterisk on digital ocean, Need to Setup Free PBX As...

Need to Setup Free PBX Asterisk on Digital Ocean Project Description: Setup Free PBX on Digital Ocean Droplet using Centos 6.5. Skills required are Asterisk PBX, SQL, Linu

We are looking for wordpress theme install & customization, We are looking ...

We are looking for Wordpress Theme Install & Customization Greenable.net is hiring a candidate to install as well as customize the Avada Wordpress theme according to the demo si

We need to incorporate data feed into wordpress site, We need to Incorporat...

We need to Incorporate data feed into wordpress site I want someone who can incorporate the following real estate data feed into my wordpress site. Once integrated, users must b

How to Install PHP Xampp, How to Install PHp Xampp please can someone guide...

How to Install PHp Xampp please can someone guide me.

We need help in website to buy as well as sell digital files, We need help ...

We need help In Website to Buy as well as Sell Digital Files I want a website created where users are able to buy and sell digital files. The users will have to all have usernam

Want a professional mangeto site by an expert developer, Want a professiona...

Want a professional Mangeto site by an expert developer We want a professional looking site built on Magento. It will be a responsive & adaptive design. Products informati

File transfer protocol, FTP (File Transfer Protocol), a standard Internet p...

FTP (File Transfer Protocol), a standard Internet protocol, is the simplest way to exchange files among computers on the Internet. Similar with the Hypertext Transfer Protocol (Hyp

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd