How To Create A Form With No Action That Does Not Reload The Page Upon Submit
Posted by Weston Ganger
The normal way to do it is probably not to use a form element at all and just use inputs outside of a form.
Then you can do whatever you want when the submit button is pressed without any reloads or anything getting in the way.
As a bonus this should act as a defence against malicious bots.
Related External Links: