[thelist] Javascript: Global variables in external .js?
Frank
lists at frankmarion.com
Sun Mar 9 01:54:01 CST 2003
At 08:38 PM 3/8/2003 -0800, you wrote:
>>Just to clarify: I'm not getting any errors. Using "this.onload()" worked
>>for me.
>>
>>I was wondering why "window.onload();" didn't. Mere curiosity on my part if
>>you would have had the answer on the tip of your tongue.
>>
>>All of this is in an external .js file, which might be the reason why.
>
>Curious -- I put that sample js into an external file and tried it;
>same result, the variable is available to other functions.
>
>What browser/OS are you seeing this problem with?
Moz 1.2.1, IE 5.00.30xx.xxxx, Win 2k SP3
More information about the thelist
mailing list