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 ...