Javascript not working when open HTML File with Safari in my iPhone

I receive periodically an HTML report by mail or by Telegram. This HTML page uses Javascript to display charts. If I open the page locally, javascript is not working so nothing is display.

If i put the page on a web server, then Safari opens it nicelly with all the javascript running.

Is this a limitation of IOS Safari ? Any workaround ?

Thanks in advance

iPhone 7

Posted on Jun 1, 2020 11:43 PM

Reply
1 reply

Jun 3, 2020 12:33 PM in response to gadben75

Hello gadben75,


I understand you are having an issue viewing Javascript content in Safari. Are you trying to access this site on your iOS device or a Mac?


If you are trying to access it on an iOS device be sure to check if Javascript is enabled. You can do so by tapping Settings>Safari>Advanced>Javascript. Further troubleshooting steps can be found here If Safari displays a blank page or quits on your iPhone, iPad, or iPod touch


If this issue occurs while on a Mac, try the troubleshooting steps in this article. If Safari doesn't load a page or webpage items are missing


Hope this was helpful!


Cheers!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Javascript not working when open HTML File with Safari in my iPhone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.