The links on my site don’t work and I got an solution of using data-ajax="false" on my anchors without getting a true explanation. Can someone help me?
The links on my site don’t work and I got an solution of using
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
data-ajaxis a feature of jQuery Mobile. JQM by default will try to load pages via ajax for improved user experience and transitions. If you setdata-ajax='false'then JQM will do a normal page request instead of using ajax. This can be used on forms as well as links.From the docs:
If you want to disable ajax on all of your links then instead of adding
data-ajaxto everything, you can do it like this: