0

Why is getElementsById am illegal selector?

One of the questions in a challenge i played on this platform was the above and i was just wondering how it is illegal?

27th Sep 2019, 5:58 PM
TyaftioN
TyaftioN - avatar
5 ответов
+ 3
You done a spelling mistake It should be getElementById Not getElementsById ^ There is no s
27th Sep 2019, 6:12 PM
Farhan
Farhan - avatar
+ 2
getElementById and getElementsById aren't the same :3
27th Sep 2019, 6:18 PM
Raihan Arefin🇧🇩 [Thunder_Rabbit⚡⚡]
Raihan Arefin🇧🇩  [Thunder_Rabbit⚡⚡] - avatar
0
Nope. Its elements i just checked again
27th Sep 2019, 6:18 PM
TyaftioN
TyaftioN - avatar
0
Ahh im stupid thanks guys
27th Sep 2019, 6:23 PM
TyaftioN
TyaftioN - avatar