Fast getElementById
Es una tontería, pero cuando llevas muchos te ahorras un espacio considerable:
JavaScript:
-
function d(e){return document.getElementById(e);}
Y luego:
JavaScript:
-
var salida = d("salida");



Comentarios
Deja un comentario