Código HTML:
function clickt(){ if(no hay checbox seleccionado){ alert ("debe seleccionar alguno"); return false; } else{ var qt; qt=confirm('¿Seguro bla bla?'); if (qt==1){ return true; } else{ for (i=0;i < document.realiza.elements.length; i++){ if(document.realiza.elements[i].type == "checkbox"){ document.realiza.elements[i].checked=0; } } return false; } } }
if(document.realiza.elements[i].checked==0){
o
con choise..
y nada... alguna idea??
Gracias