function setTags() {
//$('#sTags input[type=checkbox]').removeAttr('checked');//清除指定标签所有checkbox选中状态
//遍历指定标签所有checkbox,并获取选中checkbox的value
var valu = "";
$("#sTags input[type=checkbox]").each(function () {
if (this.checked == true) {
valu += $(this).val() + ",";
}
});
valu = valu.substring(0, valu.length - 1);
$("#tags").textbox("setValue", valu);
}
//$('#sTags input[type=checkbox]').removeAttr('checked');//清除指定标签所有checkbox选中状态
//遍历指定标签所有checkbox,并获取选中checkbox的value
var valu = "";
$("#sTags input[type=checkbox]").each(function () {
if (this.checked == true) {
valu += $(this).val() + ",";
}
});
valu = valu.substring(0, valu.length - 1);
$("#tags").textbox("setValue", valu);
}