Home >Backend Development >PHP Tutorial >Ajax submission form form page will still refresh j solution

Ajax submission form form page will still refresh j solution

小云云
小云云Original
2018-01-08 16:57:541776browse

This article mainly introduces the quick solution to the problem that the Ajax form page will still be refreshed when submitting the Form form, and the automatic refresh after the Ajax submission when there is a button in the form form. Question, friends in need can refer to it, I hope it can help everyone.

After working on it for a long time, it turned out that the type="button" was added when clicking the submit button. It turned out to be

Statement:
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