Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Go to URL in main frame with a bit of script thrown in too! Help!

Status
Not open for further replies.

girlfridayinc

Technical User
Mar 4, 2001
5
US
Hi, I am designing a site using DW3 and I have a bit of javascript that will let the user type in an address and go to it from a frame in my frameset. The problem is I want the address they type in to open in the main frame rather than the smaller one the javascript is in. Any ideas? I am a javascript newbie so any help would be much appreciated. Here is what is in the frame.

<form>
<div align=&quot;center&quot;>
<input name=&quot;address&quot; type=&quot;text&quot; value=&quot; size=&quot;25&quot; onAfterUpdate=&quot;window.location=this.form.the_url.value&quot;>
<input type=&quot;button&quot; value=&quot;Click n Go&quot; onClick=&quot;window.location=this.form.address.value&quot; name=&quot;button&quot;>
</div>
</form>
</div>

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top