inside my header script tag, the HTML page doesnt work correctly,
even though external.js file is blank.
Some of the page shows up, like the tables, but the
tables' cells aren't shown.
What I've now just done is use 2 header scripts, the first one uses
src="external.js", and the second doesn't, and it all functions correctly
I'm unclear what is happening here, is it mandatory that functions
'imported' from external .js files be included in scripts separate
from the original scripts in a html page?
Thanks for any advice.
The script may be defined within the contents of the SCRIPT element or in an external file. If the src attribute is not set, user agents must interpret the contents of the element as the script. If the src has a URI value, user agents must ignore the element's contents and retrieve the script via the URI. Note that the charset attribute refers to the character encoding of the script designated by the src attribute; it does not concern the content of the SCRIPT element.
[ February 26, 2006: Message edited by: Bear Bibeault ]
It seems wrong using scripts like that, so if I wanted to use functions from say external1.js and external2.js, as well as functions in the html
page, would I use...
Thanks again for your help
[ February 26, 2006: Message edited by: colin shuker ]