Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/02/2006, 03:41
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 5 meses
Puntos: 39
Perdon por la intromision, esta es mi version:
Código HTML:
chkBx = document.getElementsByTagName("INPUT");
res = true;
for (i in chkBx)
  if (chkBx[i].name == "algo")
    res = res && chkBx[i].checked;
form1.todos.checked = res;
Te recomiendo usar el atributo id en los checkbox.
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.