var $checkbox=document.getElementById('checkbox'); if(!$checkbox.checked){ console.log("true"); } 相关文章: