+ 1

Why can't I use 'document.getElementsByClassName' in js? Plz...explain me!

28th Sep 2019, 2:54 PM
ⒶⓇⒿⒾⒶ
ⒶⓇⒿⒾⒶ - avatar
5 Antworten
+ 2
Try document.querySelectorAll(".<yourclassname>") instead and see if that works. Don't forget the '.' in the quotes.
28th Sep 2019, 4:46 PM
Russ
Russ - avatar
0
There's nothing wrong with using it. Show us your code so we have a chance of explaining what is going wrong.
28th Sep 2019, 4:17 PM
Russ
Russ - avatar
0
It was not supported in 'QuickEdit' application and 'Chrome'....
28th Sep 2019, 4:33 PM
ⒶⓇⒿⒾⒶ
ⒶⓇⒿⒾⒶ - avatar
0
That works....Thanks 😁😁
28th Sep 2019, 5:00 PM
ⒶⓇⒿⒾⒶ
ⒶⓇⒿⒾⒶ - avatar