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: ASM <stephanemoriaux.NoAdmin@wanadoo.fr>
Date: Fri Jul 08 2005 - 22:35:45 CEST

Razzbar wrote:
>
> 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.

and even more
to call an external from an internal script ;-)

<script type="text/javascript">

document.write('<script type="text/javascript" src="extern.js">'+
         '<\/script>');

</script>

-- 
Stephane Moriaux et son [moins] vieux Mac
Received on Mon Oct 24 02:13:12 2005