Home >Web Front-end >JS Tutorial >Solve jquery submit() submission form prompt: f[s] is not a function_jquery
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.