Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/07/2010, 13:26
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
Respuesta: Agregar clases dinamicamente.

Ok. Me funcionó con el id:

Cita:
$("h2").each(function (i) {
i = i+1;
$(this).attr("id", i);
});