+ 2
Please, I'm getting 'Uncaught TypeError: Cannot set property 'innerHTML' of null' in my web codes. How do I debug this?
Javascript and html error
4 Respostas
+ 1
Do :
function main()
{
//all the stuff
}
window.onload = main ;
+ 3
but you should post your code here so people can look at it to help find the error
+ 3
Thanks Theophile, it worked.
+ 2
you should make sure the "document.getElementById("")" or what function your using has the right id.