JavaScript Get Element według klasy
var elementsArray = document.getElementsByClassName("someclassname");
Grepper
var elementsArray = document.getElementsByClassName("someclassname");
var selector = document.getElementsByClassName('class-name');
let elementsArray = document.getElementsByClassName("className");
// OR
let element = document.querySelector(".className");
document.getElementsByClassName('Name');
var elements = document.querySelector(".class");
var elements = document.getElementsByClassName(names); // or:
var elements = rootElement.getElementsByClassName(names);