mrkeck Sharing the Love

2Dec/130

jQuery Submit Function Not Working

jQuery submit function error "Property 'submit' of object # is not a function" seems to happen if you use "submit" as a name inside the form you are trying to use the submit() function on.
Ex.

<form id="theFrm">
<button name="submit" type="submit">Save</button>
</form>

Don't use "submit" as a name and $("#theFrm").submit() should work

Filed under: jquery Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.