bootstrap:改变modal中复选框,未保存情况下复选框会保留更改
if (checkbox_1 === true){
$("input[name=box_1]").prop("checked", true)
}
if (checkbox_2 === true){
$("input[name=box_2]").prop("checked", true)
}
改为:
$("input[name=box_1]").prop("checked", c...
原创
2019-06-27 14:45:31 ·
324 阅读 ·
0 评论