Suddently, I kept getting this error: “form.submit is not a function”. Now, I’ve been coding long enough to know that every form has a submit function. So, what could have gone wrong? It took me a while but I soon realized that the html designer had named the submit button ‘submit’. This overwrote the submit function and made submit an element instead.