📅  最后修改于: 2022-03-11 15:02:25.607000             🧑  作者: Mango
checkbox = document.getElementById('conducted');
checkbox.addEventListener('change', e => {
if(e.target.checked){
//do something
}
});