Can anyone explain what is theses errors?
Uncaught TypeError: cannot read property \'innerHTML\' of null
View on my website This
I had a similar problem, but I had the existing id, and as egiray said, I was calling DOM before it loaded and Javascript console was showing the same error, so I tried:
window.onload = (function(){myfuncname()});
and it starts working.