queryselector get each element code example
Example: queryselector get each element
[].forEach.call(
document.querySelectorAll('.check'),
function (el) {
console.log(el);
}
);
[].forEach.call(
document.querySelectorAll('.check'),
function (el) {
console.log(el);
}
);