Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q95 Where do I place target="Main" in the following code?

irt.org | Knowledge Base | JavaScript | Link | Q95 [ previous next ]

Q95 Where do I place target="Main" in the following code?

location.href = 'apage.html';

The target is included in the object tree hierarchy when you change the location of a document, for example to change the location of another frame:

parent.frameName.location.href = 'apage.html';

To change the location of the parent directory:

parent.location.href = 'apage.html';

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.