Does the iPhone support Javascript?
Yes, straight from the mouth of Steve Jobs is the indication that Javascript is built into the iPhone.
This offers a much more expansive mobile web browsing experience vs. mobile browsers which do not suport Javascript.
Comments
Hyms replied on Permalink
If the iPhone support JavaScript that's so where can I download it or I need to install from iPhone itself.
Chad Shmukler replied on Permalink
Javascript is inclued in the iPhone as part of the MobileSafari browser.
Gtrent3 replied on Permalink
No it's not. If anyone knows a way I can get js on iPhone e
mail me @ gtrent9@gmail.com do i need to update upgrade cause
I don't have it.
Adrian Antuna replied on Permalink
Please help me get JavaScript enabled on my iPhone 5si would greatly appreciate
Gail Plotkin replied on Permalink
If I have JavaScript how do I find it to use it?
Anonymous replied on Permalink
How do I find it and enable?
maria replied on Permalink
i wod like to now why i am not able to see no pictures or nothing from the internet on my i phone i wod like tto no if i can chat whit some one or see how i can get help about my phone? thank you very much for your suport.if enithing you can email me at mrs.chirinos24@yahoo.com thank you
Anonymous replied on Permalink
Dear sir, I want to update my Iphone 4, and setup java thanks kanan from Bangladesh
chris replied on Permalink
im trying to get ichat on my iphone and it wont let me listen to music when i am viewing myspace profiles, nothing will download WHAT am i doing wrong? plllease help me
Anonymous replied on Permalink
the music player on myspace is flash based. Flash is not supported by the IPhone.
Jamp Mark replied on Permalink
Take note that mouseover and mouseout events are not supported. :hover is also not supported says here.
kdizel replied on Permalink
thanks for the post. good info
Minz replied on Permalink
The YouTube on my iPhone doesn't not work.even when I visit the official site the videos don't work.what can the reason be??
Anonymous replied on Permalink
Flash is not supported on Iphones… Youtube movies are in flash.
That is why the videos are not working.
JimmyP replied on Permalink
Dunno which I phone you are using but all can run you tube.
You tube movies are not in flash.
See that icon under the green icon in the left upper quadrant? well ....why...it is you tube!!
http://www.apple.com/iphone/buy/
VacuumNinja replied on Permalink
You're a moron, the YouTube player is built in Flash. Yes, there is a native app for the iPhone that views YouTube videos. Don't try to be sarcastic if your IQ is in the double digits, you only make yourself look like an idiot. Well...why...fuck you!!
Anonymous replied on Permalink
Prick!
Anonymous replied on Permalink
Doesn't change the fact that buddy is dumb for not knowing YouTube app exists because the site is not usable because the site uses Flash. Flash == gay, js runs so much better and HTML5 best. Glad Steve Jobs has taken a stand against what is a horribly overrated, buggy, and performance sucking web tool.
Anonymous replied on Permalink
Dude, quit being such an egotistical griever. He made a mistake. Chill
Juned replied on Permalink
My youtube is not working even I am using it's doesnt open its just searching
Whity replied on Permalink
I am using a script in Javascript on a website which displays images fading into others (like a diaporama).
You can see it at this adress (main index) : http://www.esquare.ch
Curiously, the script doesn't work on the iPhone I used for the test. Has anyone got an idea why?
Charles replied on Permalink
Not sure if that is a real site, or a spam site, but I went to http://www.esquare.ch (which redirected to http://www.éfc.ch/) and it takes FOREVER to load on my desktop Mac. No wonder it doesn't work on the iPhone.
XMAN replied on Permalink
Why does it support javascript and not java?
Anonymous replied on Permalink
Because Javascript and Java are two different things, retard.
Anonymous replied on Permalink
That didn't really answer his question. He obviously knows they're two different things because he listed them as two different things. There's certainly no reason to get so upset over a question anyway.
Anonymous replied on Permalink
You're an idiot. Why do dicks like you give replies as such? Answer: because you're an immature dickhead :))
Anonymous replied on Permalink
good gosh....who is the immature one here?
get a grip, get a life.
and chill out.
John replied on Permalink
I find the use of language such as "dick" and other references to body parts, which must sound "hip" to some, sounds tired and unimaginative to me. It should not be touted as "cool' nor is it "current".
Anonymous replied on Permalink
You obviously can't read because he asked why one does and the other doesn't --- simple question the answer you obviously don't know
Sarcasm is the lowest form of wit !!!
Brent replied on Permalink
Everyone settle down. There is no need to start a flame war here. Both Java and Java script ARE supported on the iPhone. Technically.
The iPhone uses a stripped down and modified version of java on it's safari.app which is built in. However, there are some drawbacks as well. Since the iPhone uses Java 1.4, there are plenty of Java applications that will not work in a web setting. That aside, the current version of Java is included in the iOS, but can only be used by applications from the app store. Making an application that uses Java is incredibly easy to do, and with xcode's iOS easy to convert it. That being said, any mouse events return false or null, so they need to be replaced by touch events.
Common problems with java and JavaScript on the iPhone can be nailed to one of two problems. Incompatibilty with the built in safari version and it's security and mouse events. Plenty of sites use poor programming practices in Java that rely heavily on mouse events, even when they aren't using the mouse. This is because it's easier to program mouse handlers than time handlers.
If there is a website that uses Java and it's not working correctly, try viewing source and check what it's doing. Remember that anything using mouse handlers, voice handlers, camera, file systems or gps must be iPhone specific code for security and compatibility reasons. HTML5. And jQuery apps already do this in the background and both work with iOS devices.
YouTube is not made of flash, but does use a flash player to play FLV files for older movies. Newer YouTube videos (post Google acquirement) are encoded in MPEG format and therefore will open given the right link. If you click on a video in safari.app and it has an MPEG stream, it will open in YouTube.app. If that is not working, look up "download youtube videos" on google, copy and paste the YouTube URL, and click the higher quality mpg link that it gives you. It will open in the built in QuickTime player.
If you have flash media and you want to format it for iPhone, look up Adobe Flash iPhone flex converter. This works with Flash Media Encoder and Adobe AIR to build an iPhone application that can be sent to your iOS device if you are a registered developer or have a jailbroken device.
Pages