[thelist] Javascript: Global variables in external .js?

Frank lists at frankmarion.com
Sat Mar 8 21:09:00 CST 2003


At 05:53 PM 3/8/2003 -0800, you wrote:
>I'll guess you're getting some other (unrelated) error. Here's a
>quick abbreviated test case:

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. Dunno.

Frank




More information about the thelist mailing list