Go Back   CP Web Hosting - reseller hosting > Browser Scripting, HTML, XML and Multimedia > VBScript
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-16-2007, 03:16 AM
Senior Member
 
Join Date: May 2007
Posts: 908
Default The URL is a location property and the location object applies to the

The URL is a location property and the location object applies to the document object.
Reply With Quote
  #2 (permalink)  
Old 07-16-2007, 03:18 AM
Senior Member
 
Join Date: May 2007
Posts: 951
Default

Thus, the location is a property of the document, and not the window. href is a property of the location object, which in turn is a property of the document object, which in turn is a property of the window object. You must write down a sequence of objects, starting with the top level object that is the window object and work your way down to the lower-level object whose property you want to access.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0