When I attach an HTML file to an email and then email it to my iphone, I can view the file perfectly. However, none of the javascript in the file seems to run – not even simple stuff like showing / hiding divs triggered by “onClick” events.
Is there any way to make javascript run on attached files in the iphone mail application?
JavaScripts is supported in MobileSafari browser but not in the mail.
I think that to run JavaScript in the way you want you’d have to open the website in the browser. Cannot think of any other way of doing it.