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