View Full Version : [help] how to embed a .js file inside html?
04-09-2003, 06:56 AM
ok i have this problem with embedding a .js file inside the header file of HTML..I don't know whether to use ..
thanks in advance.^^
04-09-2003, 07:11 AM
you could specify the js version...
...to make sure an ancient browser doesnt throw an error because it (e.g NN2 :) ) cant access an external file. I doubt many people bother with it now.
You can also specify js language versions for (somewhat) later browser versions to prevent them reading scripts with code they wont understand....as i say, im not sure that many people bother with it though.
04-09-2003, 10:28 AM
The 'language' attribute is deprecated (http://www.w3.org/TR/html401/conform.html#deprecated) in place of the 'type' atribute.
04-09-2003, 07:28 PM
by the way, thanks for the help! i realized that problem is not that part..it's something else deep within the code itself. thanks tho!
04-09-2003, 07:39 PM
Have a look at this thread - http://www.codingforums.com/showthread.php?s=&threadid=15703
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.