I\'m trying to manipulate the HTML through getElementsByClass() but for some reason it doesn\'t work. When I use document.getElementByID() it works? Wh
getElementsByClass()
document.getElementByID()
The correct method to call is getElementsByClassName(), and it will give you an array of elements.
getElementsByClassName()
document.getElementsByClassName('boldStuff')
Anyway this is not compatible with older IE version. Check the compatibility here.