Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/07/2010, 23:59
josecarbono
 
Fecha de Ingreso: noviembre-2003
Ubicación: Frente a la PC
Mensajes: 120
Antigüedad: 20 años, 5 meses
Puntos: 0
Bucle en jquery

Hola amigos, necesito hacer un bucle con esto y la verdad no se como hacerlo, he intentado varias formas y nada..

Código HTML:
$(document).ready(function(){
$("#checkall").toggle(function () {
            $(".checkall1").attr("checked","checked");
            },function () {
            $(".checkall1").attr("checked","");
            })

$("#checkall2").toggle(function () {
            $(".checkall2").attr("checked","checked");
            },function () {
            $(".checkall2").attr("checked","");
})

$("#checkalln").toggle(function () {
            $(".checkalln").attr("checked","checked");
            },function () {
            $(".checkalln").attr("checked","");
})

});
Desde ya muchas gracias...
__________________
Sin sombra no hay luz...