.innerHTML is null | Sololearn: Learn to code for FREE!


.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

4/6/2018 5:27:07 PM


1 Answer

New Answer


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