js判断CheckBox是否选中

$("input[type='checkbox']").is(':checked')
//返回结果:选中=true,未选中=false
原文地址:https://www.cnblogs.com/NigelShi/p/5039426.html