For JQueryMobile 1.4, the working solution (tested) is the following:
(html taken from JQM 1.4 demo code)
<form><fieldset data-role="controlgroup">
<input type="radio" name="radio-choice-v-2" id="radio-choice-v-2a" value="on" checked="checked">
<label for="radio-choice-v-2a" style="font-weight: 100;">radio button A</label>
<input type="radio" name="radio-choice-v-2" id="radio-choice-v-2b" value="off">
<label for="radio-choice-v-2b" style="font-weight: 100;">radio button B</label>
</fieldset></form>
, R . B, A . : checkboxradio ( "refresh" ) .
Javascript/JQuery ( API JQM 1.4 )
if (radioSetting == 0) {
$( "#radio-choice-v-2b" ).prop( "checked", false ).checkboxradio( "refresh" );
$( "#radio-choice-v-2a" ).prop( "checked", true ).checkboxradio( "refresh" );
}
else {
$( "#radio-choice-v-2a" ).prop( "checked", false ).checkboxradio( "refresh" );
$( "#radio-choice-v-2b" ).prop( "checked", true ).checkboxradio( "refresh" );
}