What is the standard method for detecting whether or not Ajax is supported on mobile devices? If it’s not supported I need to replace Ajax content with static content. Did some Googling, but didn’t find much.
Any suggestions or examples?
Thanks!
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.
I don’t know that there is necessarily a standard way–you can look at certain API/libraries/frameworks that use WURFL perhaps.
If WURFL is too heavyweight, here’s what the UCLA Mobile Web Framework has developed thus far for it (ganked from https://github.com/ucla/mwf/blob/feature/core/root/assets/js/core/device.js):