Which mobile browsers support javascript (and Ajax)?

For the web site I’m building (targeted at mobile users) I’m thinking of using some Ajax controls. I’d like to know which mobile browsers do and don’t support Javascript and Ajax, so I can know whether I’ve at least covered the majority of my target market (i.e. iPhone, Droid, Nokia, Opera). If not, I’ll have to find an alternative way of presenting my forms…

Thanks!

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

I’ve found ppk’s list on quirksmode very helpful. It’s not a 100% complete resource, but should cover most major browsers.

Method 2

Given “recent” phones, you’l find the answer is “most of them”.

Along with the sites already listed, consider Device Atlas.

Method 3

This may be slightly OT, but it’s worth noting here, w.r.t. direct javascript support, that there’s two types of mobile “browsers” – there are browsers with JS interpreters in them (like Opera Mobile, iPhone Safari, Droid) and then there are “thin clients” (like Opera Mini, Bolt, Skyfire etc.).

Thin clients support scripting, but do so in a different way. They have no JS engine on the phone – the JS is executed on the server and the result of that is then sent to the browser.

Method 4

The default browsers included in Android, iOS Safari (iPhone) and Nokia all support JavaScript and Ajax. As does Opera Mini. Be aware, though, that it can be disabled (at least, in Opera Mini and Safari).

Quirksmode has compatibility tables for mobile browsers. When in doubt, use feature detection and try and leave a fallback for when JavaScript is disabled.

Method 5

You could use something like WURFL to find the capabilities of the mobile devices serverside and present a page accordingly.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x