AT work I am working on a Perl/CGI script running under the Google Chrome browser that generates javascript code to dynamically update the displayed page.
Unfortunately my script stops (ie. it dies !!) with the following type of error
Uncaught TypeError: Cannot set property 'innerHTML' of null
the offending line is
document.getElementById(id).innerHTML = img;
How do I display the value of the javascript variable id
with Google Chrome ?
I have done much searching on this topic and nothing has been helpful so far. I have been exploring the developer tools window but can't seem to find anything to display the value of a JS variable