I have an HTML form and I'm saving the form data to an XML file using PHP.
Upon submission, the page automatically refreshes - this is the default behaviour. I want to disable this, but using jQuery preventDefault also prevents saving the data.
How can I prevent it from refreshing the page, while maintaining the form functionality? Thanks.