Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/03/2005, 04:09
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años, 1 mes
Puntos: 772
Hola marisoplete

Prueba esto:
Código:
function tachar(cosa){
obj=document.getElementById(cosa).style;
if(obj.textDecoration=='line-through')
  obj.textDecoration='';
else
  obj.textDecoration ='line-through';
}
Saludos,