您需要
.prop使用更改其后刷新它
.checkboxradio('refresh')。这是在jQueryMobile中选中复选框/单选按钮的正确方法。
$('.selector').prop('checked', true).checkboxradio('refresh');
欢迎分享,转载请注明来源:内存溢出
您需要
.prop使用更改其后刷新它
.checkboxradio('refresh')。这是在jQueryMobile中选中复选框/单选按钮的正确方法。
$('.selector').prop('checked', true).checkboxradio('refresh');
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)