Hola
Prueba así
Código Javascript
:
Ver originalfunction funcion (c) {
for (var i=0; chk = c.ckb[i]; i++)
if (chk.checked) return;
alert("Por favor ingrese el tipo de IDP");
return false;
}
De todas forma si lo corriges ...
Cita: if ((!document.getElementById('idp')[0].checked) || (!document.getElementById('idp')[1].checked))
Suerte