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

the web browser displays the code itself not the result of it.

$
0
0

I imported a html file into Titanium in app.js using the following code

var webview = Ti.UI.createWebview({
    url: 'D:\files\files\javascriptparser01.html',          // path to the html file.
});
The problem is, when I run the javascriptparser01.html file in the web browser it generates the output. But when I try to run the same file by titanium using the above posted code, the web page(Firefox) displays the code itself not the output of the code.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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