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 ]
Joined: Apr 11, 2005
So have I done that the correct way in the second piece of code, in my last post? 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 ]