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

  

相关文章: