JRS: In article <6%*****************@newsread2.news.pas.earthlink. net>,
seen in news:comp.lang.javascript, Susan <Su****@bfd.net> posted at Sun,
2 May 2004 02:26:10 :
Can someone explain how I can call separate functions from a .js file that
contains several
functions from different webpages as they are needed?
See <URL:http://www.merlyn.demon.co.uk/js-nclds.htm>.
NOTE that, while an include file will probably contain mostly functions,
it can contain any javascript, for example declarations and ordinary
statements. It should probably contain at least a little comment, at
least in the master copy.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.