Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem that the Form form page submitted by Ajax will still refresh?

Shulou Source: shulou.com Published: 2022-06-03 20:15:36 10月04日 Update

Editor to share with you how to solve the problem that the Form form page submitted by Ajax will still be refreshed. I believe most people don't know much about it, so share this article for your reference. I hope you will get a lot after reading this article. Let's learn about it together.

It took a long time to click on the submit button and add a type= "button". It turns out that no matter how you do it, the page will be refreshed. Just add it.

Automatic refresh problem after ajax submission when button exists in PS:form form

/ / remember a hole (I just learned the receptionist, but I don't understand very well, and I dug a hole for myself in the project, .) modify the name of the material: modify

The above is all the contents of this article entitled "how to solve the problem that the Ajax submitted Form form page will still refresh". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Forms pages questions tags articles content weird not so much again receptionist function reason name most feelings buttons more knowledge results industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker NVidia Linux MariaDB Shulou Tech Info