Hello. Here's a very shortened, simplified version of my question. I have a form with an iframe in it, and the code is sortof like:
<form name="testForm" action=" target="myIFrame">
.......
<input type="hidden" name="var1" value="foo">
<input type="hidden" name="var2" value="foo">
<input type="hidden" name="var3" value="foo">
<input type="hidden" name="var4" value="foo">
<input type="hidden" name="var5" value="foo">
<input type="hidden" name="var6" value="foo">
<input type="hidden" name="var7" value="foo">
<input type="hidden" name="var8" value="foo">
<input type="hidden" name="var9" value="foo">
<input type="hidden" name="var10" value="foo">
<iframe src=" title="myIFrame" id="myIFrame" scrolling="yes"></iframe>
..........
<input type="submit" name="submit" value="submit">
</form>
Now, when I click on the "submit" button the iframe (yahoo) pops up in a new window. Is there a way I can get it to refresh just the iframe section of the document? I really need to do a form submission (instead of building a link or whatever) because there are just too many variables I need to pass to the iframe. Gotta be some sort of a way to do this in JavaScript. Thanks in advance for any help.
~John
<form name="testForm" action=" target="myIFrame">
.......
<input type="hidden" name="var1" value="foo">
<input type="hidden" name="var2" value="foo">
<input type="hidden" name="var3" value="foo">
<input type="hidden" name="var4" value="foo">
<input type="hidden" name="var5" value="foo">
<input type="hidden" name="var6" value="foo">
<input type="hidden" name="var7" value="foo">
<input type="hidden" name="var8" value="foo">
<input type="hidden" name="var9" value="foo">
<input type="hidden" name="var10" value="foo">
<iframe src=" title="myIFrame" id="myIFrame" scrolling="yes"></iframe>
..........
<input type="submit" name="submit" value="submit">
</form>
Now, when I click on the "submit" button the iframe (yahoo) pops up in a new window. Is there a way I can get it to refresh just the iframe section of the document? I really need to do a form submission (instead of building a link or whatever) because there are just too many variables I need to pass to the iframe. Gotta be some sort of a way to do this in JavaScript. Thanks in advance for any help.
~John