Jquery mobile is a very good mobile js code that can achieve various touch screen effects. However, a large number of incompatibility problems need to be found during use. After verification, it is found that it is caused by ajax, I will share with you the solution below.
The previously written program obtained the execution in jquery mobile and found many problems, so the process could not proceed, the reason for this phenomenon is probably related to the mobile processing mechanism. The mobile library encapsulates all forms from and hyperlink a as ajax submissions, and requires the format of the returned data, if it is not written in the format, There will be various problems. If you want to use the jquery mobile library, you can follow these steps:
Add the data-ajax attribute data-ajax = "false" to the form and a elements"
For example
<Form action = "xxx data-ajax =" false ">
</Form>
<A xhref = "xxxx" data-ajax = "false"> link </a>