You are here: irt.org | FAQ | JavaScript | Form | Q1548 [ previous next ]
Try:
<script language="JavaScript"><!-- function goto_URL(url) { parent.FRAMENAME.location.href = url; } //--></script> <form> <input type="radio" name="r1" onClick="goto_URL('page1.html');"> page1</br> <input type="radio" name="r1" onClick="goto_URL('page2.html');"> page2 </form>