You are here: irt.org | FAQ | JavaScript | Link | Q419 [ previous next ]
By manipulating the links object array. The links array contains a reference to all the links in a document in the order they appearr in the document. The following changes the href attribute of the first (remember arrays start at zero) link in the parent frame's otherframename frame:
<script language="JavaScript"><!-- parent.otherframename.document.links[0].href = 'someotherpage.htm'; //--></script>