The reason it isn't working is because you have to refresh
the elements you update when using jQuery Mobile or jQuery UI.
This will work:
$("#no27").prop("checked", true);
$("#d27").find("input[type='radio']").checkboxradio("refresh");
Using .prop()
the checked value of #no27
is set to true
. The second line then refreshes the radio buttons inside #d27
using .checkboxradio("refresh")
.
Here it is working: http://jsfiddle.net/ssKaV/, here's an interactive toggling example: http://jsfiddle.net/XxRvs/