E
eddie wang
How can I reference/retrieving selected value in two radio groups? The
folloing statements are based on two groups of radio buttons. When user
picks each radio button, the same asp script will execute and the
parameters(query string) for the asp will be based on the selected value
of the two sets of radio groups. Thanks.
<input type="radio" name="radio1" value="Both"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'" checked>Both 
<input type="radio" name="radio1" value="Onshore"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Onshore 
<input type="radio" name="radio1" value="Offshore"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Offshore 
<br>
<input type="radio" name="radio2" value="Both2"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'" checked>Both 
<input type="radio" name="radio2" value="coop"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Company Operated
<input type="radio" name="radio2" value="obo"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Outside Operated
folloing statements are based on two groups of radio buttons. When user
picks each radio button, the same asp script will execute and the
parameters(query string) for the asp will be based on the selected value
of the two sets of radio groups. Thanks.
<input type="radio" name="radio1" value="Both"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'" checked>Both 
<input type="radio" name="radio1" value="Onshore"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Onshore 
<input type="radio" name="radio1" value="Offshore"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Offshore 
<br>
<input type="radio" name="radio2" value="Both2"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'" checked>Both 
<input type="radio" name="radio2" value="coop"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Company Operated
<input type="radio" name="radio2" value="obo"
onclick="javascript:document.field_list.document.location='List.asp?&typ
e1=radio2.selectedvalue&type2=radio2.selectedvalue'">Outside Operated