[thelist] Loading JavsScript file (*.js)
Syed Zeeshan Haider
szh at softhome.net
Thu Sep 19 15:22:00 CDT 2002
Hello Experts,
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.
Is it possible to load this file only when a user clicks on a certain button? I
mean can I control its loading?
Thank you!
Syed Zeeshan Haider.
http://syedzeeshanhaider.faithweb.com/
More information about the thelist
mailing list