[Solved]JavaScript in sync'd HTML file does not run reliably


MartinZ

Recommended Posts

Please allow the following question regarding "Sync Home Pro" on iOS-Devices (Apple iPad)

I have a HTML-file which syncs perfectly from my Windows Box to my iPads. But: Clicking this file on my "iPad Air 2" just shows the HTML and nothing generated by the embedded JavaScript. Clicking on my "iPad Air" (first version) immediatelly shows the HTML and runs the embedded JacaScript.

The JavaScript is contained in the HTML-file, no external references are used (I want this to be available offline, I coded most of the JavaScript myself)

Both iPads are iOS 11.3.1, the sync folder is the same.

I do not know a possibility to show any JavaScript-Errors (if any) or how to start a debugging console on iOS when clicking on a file in a sync folder

If I transfer the HTML file using sync's "open with" to the iOS-App "Files" it opens from there without any problem showing the executed JavaScript on both iPads

Does anyone see a similar behaviour with HTML files? Do I have a chance to see, what happens during the click in sync-folder with my JavaScript?

regards, Martin

Link to comment
Share on other sites

  • Gane O'dwyer changed the title to [Solved]JavaScript in sync'd HTML file does not run reliably

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.