回到首页
个人中心
反馈问题
注册登录
下载APP
代码
提交代码
<input class = 'test' type='radio' >1 <input class = 'test' type='radio' >2 <input class = 'test' type='radio' >3 <input class = 'test' type='radio' >4 <script> var a = document.getElementsByClassName('test').length; //IE 6 7 8不支持; alert(a); </script>
运行结果