I am quite new with Javascript and I got a problem with document.getElementById() that always returns NULL, and that\'s driving me nuts.
I have a element in my code
in my case it was because of having this line at the beginning of the jsp/html(whatever) file:
removing it solved my problem.