TypeError: f[s] is not a function for jquery form submission

后端 未结 1 452
眼角桃花
眼角桃花 2021-02-07 11:07

I\'m trying to get a form to submit in a roundabout way, since I need it to append new inputs before it submits. Since putting appends in the actual $(form).submit() function wi

1条回答
  •  不思量自难忘°
    2021-02-07 12:07

    You have some input with name="submit" in your form, which overrides the native form.submit (programmatically submits the form) method that is being called internally in jQuery. You need to change that to some other name.

    See the Additional Notes paragraph in the documentation.

    You can also use DOMLint to see other possible conflict issues.

    0 讨论(0)
提交回复
热议问题