[thelist] Loading JavsScript file (*.js)

Hassan Schroeder hassan at webtuitive.com
Thu Sep 19 16:44:02 CDT 2002

Syed Zeeshan Haider wrote:

> I have a very large JavaScript file (size is about 40 KB). I have inserted it in
> HTML document with following line:
> <script language="JavaScript" src="myscript.js"></script>
> This file definitely increases the loading time of the HTML document as it loads
> along with HTML.

I haven't tested browser support for this, but see the "defer"
attribute of the SCRIPT tag --


- which sounds like just what you need :-)

Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

     -- creating dynamic Web sites and applications since 1994 --

More information about the thelist mailing list