I\'m learning jQuery and was following a tutorial, a very strange error has perplexed me. Here\'s my html :
It's getElementById()
getElementById()
Note the lower-case d in Id.
d
Id
It's document.getElementById() and not document.getElementByID(). Check the casing for Id.
document.getElementById()
document.getElementByID()