摘要: function getRadioValue(objName) { var objs = document.getElementsByName(objName); for(var i=0; i<objs.length; i++) { if(objs[i].tagName.toLowerCase()=='input' && objs[i].checked) return objs[i].value; } return null; } 阅读全文
posted @ 2012-02-16 21:28 haiwei.sun 阅读(296) 评论(0) 推荐(0) 编辑
返回顶部