[B]Question
[B]Answer
[B]BUT
Let’s say, I have the following in my HTML file:
[INDENT]<script src=”script/main.js”></script>[/INDENT]
And then at the very bottom of my HTML page before the </body> tag I have:
[INDENT]<script type=”text/javascript”>var myvariable = “Sample Data”;</script>[/INDENT]
So, is [B]myvariable
In simple tests I’ve done, yes it does seem to be available
But… what if I have a lot of other js code running in between
Does this change anything?
Thanks
OM