I'm trying to change the content inside of a span element. I've tried :
<span id='spanId'> content </span>
document.getElementById('spanId').innerHTML = blah blah
This does not work and the console returns :
'TypeError: null is not an object'