// 单击按钮全选或取消全选
var allselect = false;
function AllSelect(){
if (allselect) {
$('#formlist').find("input[type='checkbox']").prop("checked",false);
allselect = false;
}else{
$('#formlist').find("input[type='checkbox']").prop("checked",true);
allselect = true;
};
}
[Source code] Click the button to select or cancel all selections
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325070161&siteId=291194637
Ranking