document.getElementByClass no es una función
//document.getElementByClass is not what you are looking for but:
document.getElementsByClassName(your_class);
Armandres
//document.getElementByClass is not what you are looking for but:
document.getElementsByClassName(your_class);