获取checkbox状态

 var test = document.getElementById(obj).checked;

  

原文地址:https://www.cnblogs.com/deepalley/p/12950344.html