Patrick.Kershner
Solid State Member
- Messages
- 9
- Location
- Colorado Springs
Hello everyone,
I am tring to do a simple selection using radio buttons and have what they select open up in an iframe: Here is what i have so far (I am not that fluent with JS yet) .
<form name="priceForm" target="lvlframe" method="post">
<input type="radio" value="business" name="pricelvl" onclick="document.open()" />Business<br />
<input type="radio" value="residential" name="pricelvl" onclick="document.open()"/>Residential<br />
</form>
<iframe name="lvlframe" height="50%" width="50%"></iframe>
But i know that i need a Javascript at the top of the page so when they click on Business it opens the right webpage.
If you can help please let me know!
Thanks,
Patrick Kershner
I am tring to do a simple selection using radio buttons and have what they select open up in an iframe: Here is what i have so far (I am not that fluent with JS yet) .
<form name="priceForm" target="lvlframe" method="post">
<input type="radio" value="business" name="pricelvl" onclick="document.open()" />Business<br />
<input type="radio" value="residential" name="pricelvl" onclick="document.open()"/>Residential<br />
</form>
<iframe name="lvlframe" height="50%" width="50%"></iframe>
But i know that i need a Javascript at the top of the page so when they click on Business it opens the right webpage.
If you can help please let me know!
Thanks,
Patrick Kershner