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

Wed need a wordpress and php developer needed monthly, Wed need a Wordpress...

Wed need a Wordpress and PHP developer needed monthly I want a developer that will be paid on a monthly basis to do miscellaneous as needed tasks on already developed websites.

We want an experienced programmer to write a script, Web programmer We w...

Web programmer We want to allow logging on an S3 bucket to audit potential high usage from single users (example single IP addresses) on our Wordpress membership site. We wan

Seeking to get a programmer/ web developer for my websites, Programmer / We...

Programmer / Web Developer Seeking to get a Programmer/ Web Developer to do work on a few of my websites. Need be efficient and experienced in php and JavaScript. Job Desc

Session management, I need help with adding session management to my login ...

I need help with adding session management to my login webpage. It is the MVC method and has 2 models and 1 view alongside the login page of course. I just need assistance with the

We need website developer, Website Developer We are currently looking fo...

Website Developer We are currently looking for a web site developer. Job Description- We're looking for a Web Developer. Your responsibilities- a) Review business re

We need help in casino site - bitcoin payment, We need help in Casino site ...

We need help in Casino site - Bitcoin payment Need a ready solution to launch a casino site which accepts crypto currencies. I want it urgently and would be interested in hearin

We are developing a social network as well as marketplace, Individual Devel...

Individual Developer for charity-focused social network We are developing a social network as well as marketplace for charities and need a programmer proficient in php, mysql, c

We need help to create bitcoin poker room website, We need help to create B...

We need help to create Bitcoin poker room website Need a high end bitcoin poker flash site with option to android app/software Develop as well as design the website concept,

Use the radio buttons in web page, Working with Radio Buttons funct...

Working with Radio Buttons function calculate(form) { if(form.elements

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