+ 1

.innerHTML is null

What does this means and how do I stop it from happening. Any additional information would extremely helpful. Thank you for any responses that you have giving me

6th Apr 2018, 5:27 PM
Bradley
1 Odpowiedź
+ 4
Any javascript code written inside the script tags (present in head section of your HTML file) gets executed by the browser rendering engine even before your whole DOM is loaded. https://stackoverflow.com/questions/18239430/cannot-set-property-innerhtml-of-null https://stackoverflow.com/questions/23136759/uncaught-typeerror-cannot-set-property-innerhtml-of-null
6th Apr 2018, 5:33 PM
Scooby
Scooby - avatar