jQuery submit() on form element does not work

If you encounter the strange behaviour that a call to submit() on a form element does not work, one possible reason could be that you have an input element with the name “submit” in your form, mostlikely a submit button. Change the name attribute of that element to something else and the submit() will work.

This just happend to me and it took quite a while to figure out what the problem was.

Apart from that jQuery really rocks!

16 thoughts on “jQuery submit() on form element does not work

  1. Oh man thanks
    I am facing trouble since a month and couldn’t find the error.
    Exactly the same error I have.
    Thanks
    thankssssssssssssssss

Leave a Reply

Your email address will not be published. Required fields are marked *


+ 4 = seven

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>