Html程序  |  46行  |  1.5 KB

<input name="b" type="button" onclick="location='back.html'" value="Click Here">

<br>
Only the radio buttons between X's should be checked after clicking the button and going back
<form>
<input type="radio" name="old_version" value="12"> 
<input type="radio" name="version" value="12">

X<input type="radio" name="old_version" value="11"  checked="checked"> X
<input type="radio" name="version" value="11">

<input type="radio" name="old_version" value="10"> 
X<input type="radio" name="version" value="10" checked="checked">X

<input type="radio" name="old_version" value="9"> 
<input type="radio" name="version" value="9">

<input type="radio" name="old_version" value="8"> 
<input type="radio" name="version" value="8">

<input type="radio" name="old_version" value="7"> 
<input type="radio" name="version" value="7">

<input type="radio" name="old_version" value="6"> 
<input type="radio" name="version" value="6">

<input type="radio" name="old_version" value="5"> 
<input type="radio" name="version" value="5">

<input type="radio" name="old_version" value="4"> 
<input type="radio" name="version" value="4">

<input type="radio" name="old_version" value="3"> 
<input type="radio" name="version" value="3">

<input type="radio" name="old_version" value="2"> 
<input type="radio" name="version" value="2">

<input type="radio" name="old_version" value="1"> 
<input type="radio" name="version" value="1">

<input type="radio" name="old_version" value="0"> 
<input type="radio" name="version" value="0">
</form>
<br>
<iframe></iframe>