Código HTML:
function editServers(serverid){ var getstyle1 = document.getElementById(serverid+'2').style.textDecoration; if(getstyle1 == "none") { document.getElementById(serverid+'2').style.textDecoration='line-through'; } else { document.getElementById(serverid+'2').style.textDecoration='none'; }
¿Me entendeis? ¿Sabeis hacer que funcione en IE?
Gracias.