Say I have this radio:
<form name="myForm">
<input type="radio" name="foo" value="1"> 1
<input type="radio" name="foo" value="2"> 2
</form>
I'm looking for a way to do something like this:
document.myForm.foo.value = "2";
In order to dynamically select the 2nd radio button. Or a way to do the following using jquery.