You are here: irt.org | FAQ | JavaScript | Link | Q95 [ previous next ]
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';