无标题文档<br> function getChecked() {<br> Alert(document.getElementsByName("id").length);<br> var owner=document.getElementsByName("id").item;<br> for (i = 0; i < document.getElementsByName("id) ").length; i ) {<BR>if(document.getElementsByName("id")[i].checked){<BR> Alert(document.getElementsByName("id")[i].value);<BR>}<BR> }<BR> }<BR>