Remain on same page after submitting a form
Hi everybody,
I use jquery form plugin to ajax submit a form in my jquery mobile application.
The problem is I use an "aftersubmit" function to determine if the response from server is successful or not.
Infact I need to use a server-side validation after the form is submitted. JQuery mobile automatically changes page when user clicks "submit". Is there a way to remain on the form page so that users can correct their mistakes in compiling the form and then submit it again? Thanks in advance