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

We need a developer for bootstrap also php smart mind, We need a Developer ...

We need a Developer for bootstrap also php smart mind I want to make changes and minor modifications to a project done in bootstrap and php smart mind Desired Skills are MySQ

We need senior developer experienced in python & django, We need Senior Dev...

We need Senior Developer experienced in Python & Django Company Data aggregation project where we are aggregating online data from multiple sources as well as enabling companies

We need a wordpress expert, We need a wordpress expert I have a wordpres...

We need a wordpress expert I have a wordpress website which have few issues with login and PayPal. Therefore I need a wordpress expert who can solve all those issue tomorrow.

How can an organisation measure web application security, Question 1: C...

Question 1: Cookies are not a perfect state mechanism, but they certainly make a lot of things possible that would be impossible otherwise. Name three things that make cooki

Need help in wordpress site with e-commerce integration, WordPress Site wit...

WordPress Site with E-Commerce Integration We want development of a site in Word Press. We will offer the designs and the content. We will want you to set up the site and conver

SMTP., How do Iconfigure SMTP on a server?

How do Iconfigure SMTP on a server?

We are in need of a front end web developer, We are in need of a Front End ...

We are in need of a Front End Web Developer We are seeking to hire a front end web developer who can work with us to develop our web portal using our API. We have an appropriate

Hosting, How to host php website

How to host php website

Need help to fix hacked joomla site, Fix Hacked Joomla Site My site was ...

Fix Hacked Joomla Site My site was hacked by Ukrainians. I deleted the users introduced by the hackers in the backend database however now I can't log onto the administrator con

Web store configuration, I have a webstore offered on the big commerce plat...

I have a webstore offered on the big commerce platform. I would like to move over to the deconetwork platform. I started working on it, and could do it, but. If the copy will be do

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