It's not "doing nothing", it's throwing an exception because you're trying to access a property of a null object. You're calling document.getElementById() correctly, so the problem is that the id you ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results