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

Textarea element in a form, Set the element's dimensions using row & column...

Set the element's dimensions using row & column attributes in the textarea tag so the data entered is easily viewable.  The element of course requires an appropriately descriptive

We need help in qr code generator development estimate, QR Code Generator D...

QR Code Generator Development Estimate We would like to demand of you an estimate for merging the following html software attached from our posting and Google Chart API necessar

Help with joomla-opencart problem, Help with Joomla/Opencart problem I h...

Help with Joomla/Opencart problem I have a website made on Joomla 2.5 using a component called AceShop (which is a bridge for Opencart). I have newly moved the website to a new

Internet, The Internet is worldwide computer network which interconnects, m...

The Internet is worldwide computer network which interconnects, millions of computing devices all through the world. Mostly devices are PC's, and servers which store & transmit inf

Need joomla upgrade, Joomla Upgrade It has come to our attention that yo...

Joomla Upgrade It has come to our attention that you have at least one installation of Joomla 1.5.x - 2.5.16. The 1.5.x version has been deprecated by Joomla for over a year,

Assignment to capture our customers email addresses, web coupon This is ...

web coupon This is a assignment to capture our customers' email addresses or else cell phone numbers by offering a discount coupon. Job description- We are seeking a devel

Want a programmer to help update our website, Need a programmer to help upd...

Need a programmer to help update our website. Long-term work available I have an independent that worked on my website as well as has done a great job up until now. He has lost

Need a custom type of input control which is a tree view, Jaspersoft: Custo...

Jaspersoft: Custom Input Control: Tree View For a fresh project we urgently need a custom type of Input Control which is a tree view. we have the subsequent table structure (

Need help to modify phpmelody template, Modify phpmelody template We hav...

Modify phpmelody template We have a video hosting site that uses the phpmelody backend as well as we would like someone with experience in that software to alter the template to

We want help to create our responsive site and cms, We want help to create ...

We want help to create our responsive site and CMS We have a PSD which wants to be transformed in a responsive site with an easy CMS. It is a one-page site / PSD

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