//多选框实现单选效果,并且把中文值赋值到特定输入框function radioCheckBox(obj) {var checkBoxAll = document.getElementsByName(obj.name);for ( var i = 0; i < checkBoxAll.length; i++) {if (checkBoxAll[i] != obj) {checkBoxAll[i].checked = false;} else {checkBoxAll[i].checked = obj.checked;var obj_cn = document.getElementById(obj.name+"_CN");//通常用来保存选项的中文意思if(obj_cn){document.getElementById(obj.name+"_CN").value = obj.valueCN;if(checkBoxAll[i].value.indexOf("99")>-1){document.getElementById(obj.name+"_CN").style.display="";}else{document.getElementById(obj.name+"_CN").style.display="none";}}}}}
1200字范文,内容丰富有趣,写作的好帮手!