您需要
.prop使用更改其后刷新它
.checkboxradio('refresh')。这是在jQueryMobile中选中复选框/单选按钮的正确方法。$('.selector').prop('checked', true).checkboxradio('refresh');
您需要
.prop使用更改其后刷新它
.checkboxradio('refresh')。这是在jQueryMobile中选中复选框/单选按钮的正确方法。$('.selector').prop('checked', true).checkboxradio('refresh');