Re: Trouble calling a js file from an html file
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Trouble calling a js file from an html file

From: Razzbar <glakk@potatoradio.f2s.com>
Date: Fri Jul 08 2005 - 20:19:13 CEST

Randy Webb wrote:

> What exactly is it that you are missing in there? And, did you test that
> code as posted? Or, did you miss the part where it said "file
> test_js.js" which means it's an external file and you do *not* put
> script tags in external files.

If you're seriously interested in what I missed, it was that the code I
underlined was in a block of JS code. Very, very obvious if I had read
the entire line.

But just to argue: Correct, you don't put script tags in external
files, but you do put external files in script tags. So there.
Received on Mon Oct 24 02:13:11 2005