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

Urgent php enhancement to online assessment website, URGENT PHP enhancement...

URGENT PHP enhancement to online assessment website We are currently looking for a skilled PHP developer (PHP & MySQL - with cPanel website administration interface) with outsta

Add function in web app, Add function in web app Project Description: ...

Add function in web app Project Description: I buy simple web app from code canyon and i want to add one function to this app i want it in As soon as. Skills required are

Project, how much does it coast for php project

how much does it coast for php project

Need help in wordpress programming, Wordpress programming We are creativ...

Wordpress programming We are creative agency seeking a developer proficient in wordpress programming for our client, a real estate team. We need layout content by now complet

Need help in html5 mobile app with php & mysql admin site, HTML5 mobile app...

HTML5 mobile app with php & mysql admin site We would like a HTML5 app which users are capable to record locations and upload photo's, other users can rate it, geolocation, Goog

Help needed with blog setup, Help Needed with Blog Setup, Links, Pages and ...

Help Needed with Blog Setup, Links, Pages and General Finalization Want help finalizing all links all around darlenekujanek.com. 1) Internal page linking 2) Setting up add

We are need of help in crowdfund5, We are need of help in Crowdfund5 I'm...

We are need of help in Crowdfund5 I'm in search of someone to build clone a site like Realtymogul.com The site is to function the similar on the front and back-end. The fi

What is post and get methods, Which will execute faster POST or GET method?...

Which will execute faster POST or GET method? GET minaly transfer data to the server using URL while POST transfer data using form collection that is added to the request by th

Customize a oxyclassified website, Customize a oxyclassified website Pro...

Customize a oxyclassified website Project Description: i have being working with this site for a while but i just found out a few thing that i would like to change. it is

I want help to develop a web app, Web App The job will comprise developi...

Web App The job will comprise developing a website and advertising platform Job Description- We're looking for a Web Developer. Your responsibilities- a) Review busines

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