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> </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>
Need a pro for this
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm