Page 1 of 1

Linking from forms to iframes?

Posted: Wed Jun 11, 2003 7:06 am
by Gappa
Something I am not quite sure about

I am using a form...

<form>
<p align="center">
<select name=url onchange="window.location=url.value;">
<option>Select...</option>
<option value="1.html>1</option>
<option value="2 deftones.html">2</option>
<option value="3.html">3</option>
<option value="4.html">4</option>
<option value="5.html">5</option>
<option value="6.html">6</option>
<option value="7.html">7</option>
</select>
</form>

This form is basically just a bunch of links, but how do i get it to target an IFRAME named content rather the target the entire page?

thanks

Posted: Wed Jun 11, 2003 7:12 am
by []InTeR[]
<select name=url onchange="getElementById('iframes_id').location=url.value;">

Posted: Wed Jun 11, 2003 7:28 am
by Gappa
Thanks... I feel so stupid hahaha :roll: