04 2012 档案
摘要:方法1:<input type="radio" name="sex" value="A" <%=接收变量.equals("A")?"checked":"" />方法2:<form name="form1" method="post" action=""> <p> <label> <input type="radio" name="
阅读全文
摘要:<title>JavaScript 获取复选框的值 站长学院 www.pigzz.com</title> <script> function checkbox() { var str=document.getElementsByName("box"); var objarray=str.length; var chestr=""; for (i=0;i<objarray;i++) { if(str[i].checked == true) { chestr+=str[i].value+",";
阅读全文
摘要:html页面部分:<input type="checkbox" value="1" name="check"/>1 <input type="checkbox" value="2" name="check"/>2 <input type="checkbox" value="3" name="check"/>3 <input type="checkbox"
阅读全文

浙公网安备 33010602011771号