var radios = document.getElementsByName("radiosName");

var checked = false;
for ( var j = 0; j < radios.length; j++) {
if (radios[j].checked==true) {
checked = true;
}
}
if(!checked) {
alert("未选择!");
return false;
}
05-06 04:20