Home > Web Front-end > JS Tutorial > Solve jquery submit() submission form prompt: f[s] is not a function_jquery

Solve jquery submit() submission form prompt: f[s] is not a function_jquery

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 17:43:09
Original
1112 people have browsed it

jquery submit() cannot submit the form
error: f[s] is not a function,

js submit() cannot submit the form
error: document.getElementByIdx_x(...).submit is not a function

These two errors are very frustrating. There are no syntax errors. How can I report an error?
Because I have never encountered this before, this time I was modifying someone else’s code. When I looked back at the code, I relied on the original button’s name="submit" and deleted it to be able to submit the form normally. .

Why? It should be an Input of type="submit" that will affect form submission! I think maybe the name="submit" system will think that this is the real submit button, but clicking it will not submit! ? Although I still don’t know how it works, everyone should pay attention to it once they know there is this bug.

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Why can’t my submit button submit data?
From 1970-01-01 08:00:00
0
0
0
Ajax click submit but no response!
From 1970-01-01 08:00:00
0
0
0
Click submit but nothing shows up
From 1970-01-01 08:00:00
0
0
0
git submit issue
From 1970-01-01 08:00:00
0
0
0
angular.js - angular's ng-submit does not trigger
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template