views:

1384

answers:

5

I want to build a relatively simple version of my site for mobile phones but i will definately need javascript and jquery for many functions.

Googling didn't help to find an answer. How is compatibility of jquery with popular browsers in mobile phones? I am talking for smartphones. For example the deafult browsers for these platforms

Windows mobile 6+ Android 1.5+ iphone 3g

and let's add opera mobile.

Has anyone tried it?

+5  A: 

jQuery should work fine on at least the Android and iPhone web browsers (don't know about WinMo), as they fully support JavaScript and are for the most part standards compliant.

If you expand a little bit on which specific features of jQuery you're using, I or others can give a better answer here.

Roman Nurik
Thanks for the answer I will probably need dom manipulation and ajax with the jquery load function
fractalbit
Yep, should work fine.
Roman Nurik
My Nexus One with Android 2.2 performs better on http://jquery.com/test/ than my desktop Chromium (5.0.375.99 (51029) Ubuntu 10.04). They fail on almost the same points thought...
Linus Unnebäck
+2  A: 

Both Android and iPhone are full featured WebKit browsers (bar plugins). I would be highly surprised if it doesn't work on those.

Igor Zevaka
+2  A: 

Some info, iphone, android, and similar webkit browser should be compatible. I think you will have many problems with winmo.

fravelgue
A: 

Should work just fine in current Opera Mobile - if you target older versions (<9.5 AFAIK) you'd need to watch out for this: http://my.opera.com/hallvors/blog/show.dml/1665828

hallvors
Opera Mobile, for Android 1.5 (I got stuck with this on a Samscum Behold II) does not support javascript.
Pete Herbert Penito
You meant Opera Mini, right? Even Opera Mini supports some JavaScript but due to the client-proxy-server setup there are limitations to what you can expect.
hallvors
A: 

According to the factsheet, there will be jQuery Mobile in October 2010. So we don't need to think about mobile compatibility ever again :))

jQuery Lover