Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Failing scripts in dynamically loaded html?

$
0
0

Application type: mobile

Titanium SDK: 3.5.0.GA

Platform & version: iOS 8.4.1

Device: iOS, iPad 2 Retina

Host Operating System: OSX Yosemite 10.10.3

Titanium Studio: build 3.4.1.201410281727

Logs: does not log anything, checked device logs too

Android and iOS Development: works in simulator, output not available "live"

Hello,

I have a html page with a form which is loaded dynamically from a server; in it there are scripts needed for specific functionality - in this case, i´m selecting an image from the iPad´s internal photo directory, and when selected, the pop-up closes, and the file should be instantly pushed to the server.

This is not the case, however - the image never gets sent, and no other scripts in loaded html files is working either.

When testing in the simulator, or testing the form directly from a browser, the upload works fine.

Is there some kind of security issue involved, or why doesn´t scripts work in the downloaded html? Help, i´ve been stuck for too long with this problem!

//Marcus


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>