chestr+=str[i].value+",";
}
}//Welcome to the webmaster special effects network, our website is www.zzjs.net, it is easy to remember, zz webmaster, js is js special effects, this site collects A large number of high-quality js codes, as well as many advertising code downloads.
if(chestr == "")
{
alert("Please choose a hobby first~!");
}
else
{
alert("Your first choice is: "+chestr);
}
}
</script>
<a href=" <#ZC_BLOG_HOST#>">Webmaster Special Effects Network</a>, a must-have high-quality web page special effects and advertising code for webmasters. zzjs.net, webmaster js special effects. <hr>
<!--Welcome to the Webmaster Special Effects Network. Our website collects a large number of high-quality js special effects and provides many advertising code downloads. The website address is: www.zzjs.net, [email protected], use.
<input type="button" name="button" id="button" οnclick="checkbox()" value="提交" />
</head>
<body>
function allcanl(){
var arr = document.getElementsByTagName("input");
var strs="";
for(var i=0;i<arr.length;i++){
if(arr[i].type == "checkbox" && arr[i].checked){
//do things
strs=strs+arr[i].value+",";
}
}
var idcards=strs.substring(0,strs.length-1);
window.location.href="/search/carsear4/myAttention.jsp?idcards="+idcards;
}
</body>
</html>