Pass a variable/string to an HTML5 app?
Posted: Mon Mar 21, 2016 1:51 pm
Hi All,
I am still playing with HTML5 in LiveCode and can see the potential. Another question...
I am able to put text into a variable, within the .js file that is included with the distribution, by putting the following code at the top of the file:
When I run the app, the "Hello world!" is displayed before the app loads, but I was wondering if anyone knows a way to pass the data in that variable to the actual app so that the string can be put into a LiveCode variable?
Thanks, and this is fun!
- Boo
I am still playing with HTML5 in LiveCode and can see the potential. Another question...
I am able to put text into a variable, within the .js file that is included with the distribution, by putting the following code at the top of the file:
Code: Select all
var myVar = "Hello world!";
alert (myVar);
Thanks, and this is fun!
- Boo