DE
Size: a a a
DE
АГ
ᅠ
АГ
D
var test=parentDOM.getElementsByClassName("test"); //test is not target elementа вот мой код и вывод в консоль
console.log(test); //HTMLCollection[1]
var testTarget=parentDOM.getElementsByClassName("test")[0]; //hear , this element is target
let seconds = document.getElementsByClassName("seconds-value")[0];почему у меня HTMLCollection а не конерктный div ??
console.log("seconds = " + seconds); // seconds = [object HTMLCollection]
S
var test=parentDOM.getElementsByClassName("test"); //test is not target elementа вот мой код и вывод в консоль
console.log(test); //HTMLCollection[1]
var testTarget=parentDOM.getElementsByClassName("test")[0]; //hear , this element is target
let seconds = document.getElementsByClassName("seconds-value")[0];почему у меня HTMLCollection а не конерктный div ??
console.log("seconds = " + seconds); // seconds = [object HTMLCollection]
S
var test=parentDOM.getElementsByClassName("test"); //test is not target elementа вот мой код и вывод в консоль
console.log(test); //HTMLCollection[1]
var testTarget=parentDOM.getElementsByClassName("test")[0]; //hear , this element is target
let seconds = document.getElementsByClassName("seconds-value")[0];почему у меня HTMLCollection а не конерктный div ??
console.log("seconds = " + seconds); // seconds = [object HTMLCollection]
S
====================================================
АГ
ᅠ
АГ
D
D
DE
D
DE
IN
IN
D