views:

2452

answers:

8

Does javascript work on mobile phones?

+3  A: 

Some. Do you have a specific model in mind or just in general?

Frank V
in general,I'm developing a mobi site, so the best solution to the problem i have is javasript.
+5  A: 

depends on the browser

knittl
+16  A: 

Which mobile phones?

There's some pretty good information on this site:

http://www.quirksmode.org/m/table.html

troelskn
+110% That one went straight to Favorites, thanks.
MusiGenesis
+2  A: 

Depends on what mobile phones and to what extent you need support.

Smart phones pretty much all include support for JavaScript. How well they support them is another story.

You can see a lot of what mobile devices support here: http://www.quirksmode.org/m/table.html

Dan Herbert
+1  A: 

In general I would assume that javascript isn't there, as older cellphone models may not support javascript, but, if you use unobtrusive javascript and graceful degradation, then it won't really matter, as your page will function in some known way on any device, as long as it is formatting itself properly.

So, if you want to have it work on all mobile phones, then start with not needing javascript, then add in the javascript as an enhancement.

James Black
A: 

Bare in mind as well that their are different versions of JavaScript supported by different phones and different browsers, even if JavaScript is available.

Alex
A: 

http://www.skyfire.com/ if you can get that browser on it then you can get javascript! Awesome browser and quite portable...

Works on Symbian (Nokia Phones use it) and Windows Mobile.

Shadi Almosri
A: 

I think javascript is totally browser dependent. Symbian mobile surely can run javascript. Smart phones are much smarter to handle javascript.

Asif