Why is getElementsById am illegal selector? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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
4 Respostas
+ 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