页面小知识点(7)
关键词:radio、js解析选中项、getElementsByName
?
?
?
?
?
//执行查询function query() {var pageSize;var radios = document.getElementsByName("pageSize");for ( var i = 0; i < radios.length; i++) {if (radios[i].checked==true) {pageSize = radios[i].value;break;}}document.formQuery.action="systemfiledo.do?method=query&pageSize="+pageSize;document.formQuery.submit();}?
http://huangqiqing123.iteye.com/blog/1452031