问题
Does javascript work on mobile phones?
回答1:
Which mobile phones?
There's some pretty good information on this site:
http://www.quirksmode.org/m/table.html
回答2:
depends on the browser
回答3:
Some. Do you have a specific model in mind or just in general?
回答4:
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
回答5:
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.
回答6:
Bare in mind as well that their are different versions of JavaScript supported by different phones and different browsers, even if JavaScript is available.
回答7:
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.
回答8:
I think javascript is totally browser dependent. Symbian mobile surely can run javascript. Smart phones are much smarter to handle javascript.
来源:https://stackoverflow.com/questions/1538004/does-javascript-work-on-mobile-phones