Using JS to control the state of radio in the jquery Mobile Web page has never been achieved.
Use $ ("Input[name= ' Radio ']:first"). Prop ("checked", true) when setting checked, the value is not read with. attr ("checked").
Use $ ("Input[name= ' Radio ']:first"). attr ("Checked", true) when setting checked, the page display status changes to two without displaying.
Finally can only put prop and attr are written in inside, only calculate solves the problem.
Of course, the final refresh is also necessary, otherwise it will not update the status.
$ ("Input[name= ' Radio ']:first"). Prop ("checked", true). Checkboxradio (' refresh ');
$ ("Input[name= ' Radio ']:first"). attr ("Checked", true). Checkboxradio (' refresh ');
$ ("Input[name= ' Radio ']:last"). attr ("checked", false). Checkboxradio (' refresh ');
$ ("Input[name= ' Radio ']:last"). Prop ("checked", false). Checkboxradio (' refresh ');
Setup issues for checkboxes and radio in Jquery mobile