Asked By CharlesEF
09-Jan-10 12:54 AM
Hi All
I have an HTA containing framesets and frames consisting of 1 top, 1
left and 1 right frame. I have a statement to load an external
js file in the HTA and each frame web page. In this external file I
have defined some variables that I want to be global to all frames/web
pages.
After the HTA is loaded I can execute a function from the external
file just by using the function name. This works like it should. I
have some ADO constants defined in the external file also. The ADO
code and queries are in a different frame/web page but it does not
complain about the constants missing a value. In other words, it
works as it should. (as far as I understand)
Now for the problem, if I want to use or set a variable value that was
defined as global in the external file I am forced to use
top.variableName instead of just variableName.
Can anyone shed any light on this or point me to a link that can help
me understand?
Thanks for any help,
Charles