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