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

Abcdefg, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

We are looking for local programmer for programming, We are looking for Loc...

We are looking for Local programmer for programming work in a start-up In search of a highly skilled programmer in html, css, sql etc to work apart of a Perth startup. If you ar

Api replication required, Project Description: Want an API expert to aid...

Project Description: Want an API expert to aid in application development in regards to API extraction, and injection into other sites, as the main site is updated. Do not bid i

We need help in mobile punch card builder, We need help in Mobile Punch Car...

We need help in Mobile Punch Card Builder I have a mobile site builder platform which I would like users to as well be able to create mobile punch cards (punches) & Rewards poin

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 a back-end programmer, We need a back-end programmer My name is ...

We need a back-end programmer My name is David from the Netherlands as well as I am in the middle want of developing a site with HQ drum tutorials with the option do offer it in

We are in need of front end web developer and designer, We are in need of F...

We are in need of Front End Web Developer and Designer In search of someone who can convert my PSD files to HTML, HTML5, PHP. Who understands as well as works on websites, la

Need help credit card comparison directory- ruby & mongodb, Credit Card Com...

Credit Card Comparison Directory - Ruby & MongoDB We want to create a Credit Card Comparison Tool. Back End- Admin logs in Admin enters/edits/deletes credit card informati

Woocommerce and wordpress development on existing website, Woocommerce and ...

Woocommerce and wordpress extra development desirable on existing website I have a present website which I need some extra development on. It is a pretty meek custom WordPres

Create an html document, An HTML document may be created via any HTML edito...

An HTML document may be created via any HTML editor or text editor such as notepad etc. STEPS FOR CREATING A SIMPLE HTML PROGRAM 1) Go to Start -> Pro

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