login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

<script language="JavaScript"><!-- function functionName() { parent.frameName2.location.href = window.document.formNa... return false; } //--></script>

Q3 How do you change the URL of a frame by typing in the URL in a text box of a different frame?
http://www.irt.org/script/3.htm

Categories

/Channels/techie/JavaScript

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

<script language="JavaScript"><!-- function functionName() { parent.frameName2.location.href = window.document.formName.textName.value; return false; } //--></script>

HTML

&lt;script language="JavaScript"&gt;&lt;!-- function functionName() { parent.frameName2.location.href = window.document.formName.textName.value; return false; } //--&gt;&lt;/script&gt;