JS选中和取消选中checkbox
document.getElementsByTagName("input")[0].checked = 0;//不选择 document.getElementsByTagName("input")[0].checked = 1;//选择
document.getElementsByTagName("input")[0].checked = 0;//不选择 document.getElementsByTagName("input")[0].checked = 1;//选择