Submit is not a function

JavaScript Add comments

if you have a form with a “submit” button and you try to call the submit() function in JavaScript, you will get this error:
submit is not a function

to get around this error, change your button type from “Submit” to a normal button. Now your code will work.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in