"Grammatical Structure"
$ ("input#id.class[name=myname][type=radio][checked]"). Val ();
$ (' input#id.class[name=myname]:radio:checked '). Val ();
"Gets the value of the radio selected item"
$ (": Radio"). Click (function () {
$ (this). Val ();
});
"Set the second radio item as selected"
<input id= "Q1" class= "W1" name= "E1" value= "1" type= "Radio" checked>1</input>
<input id= "Q1" class= "W1" name= "E1" value= "one" type= "Radio" >11</input>
$ (' input#q1.w1[name= ' E1 "][type=radio]"). Get (1). checked = ' true ';//Can be alone true does not require "" or 1
Note
(1) name is a group of radio buttons, so selecting a different button will be a single selection.
(2) $ (: Radio) is wrong, must have "or"
(2) [Name=myname] in the myname may not need "" or ", if necessary, with the outer" or "" inconsistent, [Type=radio] the same
JS get radio of those things