会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
kevin
http://blog.csdn.net/helen_shw
首页
联系
订阅
管理
2012年2月16日
js获取radio的值
摘要: 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)
编辑
公告
返回顶部