Page 1 of 1

Need a pro for this

Posted: Tue Nov 14, 2006 8:56 pm
by newprogram
I have a iframe and two option on my webpage if the users pick option1 google open and if they choose option2 yahoo.com open this work great I what it to open google or yahoo in the iframe not the webpage it on
here the code
<iframe name="I1">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
<form>
<input type="radio" name="op" onclick="document.location = 'http://www.google.com';" /> Option1
<input type="radio" name="op" onclick="document.location = 'http://www.msn.com' ;" /> Option2
</form>

Posted: Tue Nov 14, 2006 9:06 pm
by John Cartwright
Moved to Client-Side.

Posted: Wed Nov 15, 2006 2:17 am
by daedalus__
The hint of the day is: your javascript is wrong.