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()
It returns an array so set the first element of the array's innerHTML
document.getElementsByClassName('boldStuff')[0].innerHTML = 'Fred Flinstone';