Padrill
06-25-2003, 05:11 AM
<input name="rqradioGender" type="radio" value="Male"> Male
<input name="rqradioGender" type="radio" value="Female"> Female
How can I dynamically check a radio button according to a variable's value when in order for radio buttons to work exclusively they have to have the same name?
rqradioGender.value = value doesn't seem to work
Note: rqradioGender.checked = true; always checks 'Female'.
Thanx
<input name="rqradioGender" type="radio" value="Female"> Female
How can I dynamically check a radio button according to a variable's value when in order for radio buttons to work exclusively they have to have the same name?
rqradioGender.value = value doesn't seem to work
Note: rqradioGender.checked = true; always checks 'Female'.
Thanx