0

why its not working? it says cannot set elements (innerHTML) of null

https://code.sololearn.com/W8Ijn1cGSw6T/?ref=app

4th Dec 2017, 7:00 AM
Ashraful Ash
Ashraful Ash - avatar
3 odpowiedzi
+ 7
One way could be by using document.write() or else by creating a div with an id and then in the js accessing it and writing within it by innerHTML.
4th Dec 2017, 7:32 AM
Saumya
Saumya - avatar
0
solved the problem.. with (window.onload) hooker....check out the code now
4th Dec 2017, 11:43 AM
Ashraful Ash
Ashraful Ash - avatar