html demo<input id="checkboxID" type="checkbox" value="imxgr" />javascript写法if(document.getElementById("checkboxID").checked){ alert("checkbox is

- 阅读全文 -