Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/04/2009, 09:40
Avatar de foreverOdd
foreverOdd
 
Fecha de Ingreso: noviembre-2007
Ubicación: Caracas
Mensajes: 489
Antigüedad: 16 años, 5 meses
Puntos: 14
Respuesta: jQuery: Contar Checkbox en una tabla

Código javascript:
Ver original
  1. jQuery("td[id^='columna_']").each( //selecciono las td con id que comience por "columna_"
  2.     function(){
  3.         checks = $(this).find(':checkbox').length  //por cada una de las columnas busco los checkboxs q tienen dentro
  4.         console.log(checks) // para firebug
  5. })

Suerte
__________________
My path is lit by my own fire, I only go where I desire