document.getElementsByTagName("input")[0].checked = 0;//不选择 document.getElementsByTagName("input")[0].checked = 1;//选择