Suppose a HTML element\'s id is known, so the element can be refereced using:
id
document.getElementById(element_id);
Does a nati
classList is a convenient alternative to accessing an element's list of classes.. see http://developer.mozilla.org/en-US/docs/Web/API/Element.classList.
Not supported in IE < 10