[thelist] Validating JavaScript
James Aylard
evolt at equilon-mrc.com
Tue Mar 13 16:28:36 CST 2001
jeff,
> nonetheless, my suggestion is slightly different. instead of including
the
> variables and functions within the same script block, you need to include
> them in a script block *before* the script block that includes the
external
> file. that way you can be guaranteed that those that support external
files
> will overwrite the first instance of the variables and functions. this
> method has been tested on every implementation i can find and has never
> failed.
Ah, so my memory was only *slightly* faulty. ;) It does look as though
your suggestion would make the scripts that much more reliable. Thanks for
the refresher.
James Aylard
More information about the thelist
mailing list