0

Can not use document.getElementById ??

I have .html file which has: <p class="abc" id="days"> But I cannot use: document.getElementById("days") in my .js file, it return null. Please tell me why, thanks.

11th Mar 2021, 5:26 AM
Quý Nguyễn
Quý Nguyễn - avatar
1 Odpowiedź
+ 2
See if your problem is covered in this post https://www.sololearn.com/post/90825/?ref=app
11th Mar 2021, 5:31 AM
Ipang