wrong, you don't use it like that, it is either...

document.getElementById

or

document.getElementByName

or

document.getElementByNameTag

or

document.getElementByClass

where the "Class" one you need to provide an empty CSS element that you use as a marker in the page.

and with that, I am going to spend the next several hours examining the inside of my eyelids.