Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/10/2010, 13:10
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: switch de radio buttons (mostrar ocultar labels)

Mil gracias David. Quedó así:

Código Javascript:
Ver original
  1. activo = $("input:checked");
  2.  
  3. $(":radio").change(function(){
  4.     activo.next("span").toggle();
  5.     activo = $(this);
  6.     activo.next("span").toggle();
  7. });