javascript select from class 0 code example Example: javascript element by class var elementsArray = document.getElementsByClassName("someclassname");