View Full Version : Form "onSubmit" Action - Targeting it to a Frame?


XxBeaNxX
04-14-2006, 08:02 AM
Hi. I'm wondering how I can edit my form to target it to a frame. Here's the code for the form:

<form onSubmit="window.location=this.url.value;return false;">http://<input type=text id="url" size=55 value=""><input type="image" SRC="IMG/go.gif" border="0"></form>

On my page I have a two frames, a small one on top, and a big one below it. This code is on the small one on top (it's really the only code of that page), and I'm trying to have the form be targeted to the bottom frame, which is called content.

I've tried ]<form target="content" and <form onSubmit="window.location=this.url.value;return false;target=content;">, but neither seem to work.

Is it possible? If so, where should I put the target code? Thanks in advance for any help!

XxBeaNxX
04-14-2006, 09:21 AM
Sorry for the double post, but the edit button went away...

Well I don't need this anymore because I did it w/o frames, but I'd still just like to know if it was possible...? However, an answer is no longer needed.