View Full Version : Passing a Javascript variable from one Html to another


08-13-2014, 07:28 AM
hi everyone,

Can anyone help me with this?
I have two htmls: html1 and html2. Html1 is run within html2 while html2 is run as an HTML form in my Alpha5 Desktop App.
I want to pass a javascript variable from html1 to html2.

I've looked for some info about this in Google and the answers are:
1. Saving the js variable in html1 as a cookie,then acess the cookie using js in html2.
2. Saving the js variable using sessionStorage or localStorage.

It works when running html2 in a browser but not in my case since Im running it as embedded HTML form in Alpha5.
Is it possible to do this?

Stan Mathews
08-13-2014, 09:50 AM