samedi 9 septembre 2017

Cannot read property 'innerHTML' of null in IF statement

I have error with "Cannot read property 'innerHTML' of null" at attacked (JS.js:172).

However the concerned line is 'if (document.getElementById("enem").innerHTML != null)', which was made especially to solve this problem (last time i had this problem so i added this IF and it's still errorous.

Thank you for you help.

Aucun commentaire:

Enregistrer un commentaire