In jQuery Mobile, form submissions are automatically handled using Ajax whenever possible, creating a smooth transition between the form and the result page. To ensure your form submits as intended, be sure to specify
method properties on your form element.
This page demonstrates automated ajax handling of form submissions. The form below is configured to send regular a
get request to
forms-sample-response.php. On submit, jQuery Mobile will make sure that the Url specified is able to be retrieved via Ajax, and handle it appropriately. Keep in mind that just like ordinary HTTP form submissions, jQuery Mobile allows
get result pages to be bookmarked by updating the Url hash when the response returns successfully. Also like ordinary form submissions,
post requests do not contain query parameters in the hash, so they are not bookmarkable.