📅  最后修改于: 2022-03-11 14:59:29.227000             🧑  作者: Mango
代码示例1
$.each(myArray, function(index, item){
$('.category').each(function(){
if(this.value === item) {
this.checked = true;
}
});
});