"external "
Definition?
"copied "
good
========
Good luck
> Hello,
>
[quoted text clipped - 26 lines]
>
> Thanks :)
> in the html I wrote :
> <script lanuage = "javascript" src = "myscript.js">
> (in myscript.js I have copied what is between the <script> tags).
Hi,
> 1) What is the problem in my code ? - Are there any limitation in external
> javascript ?
You must add the closing </script> tag.
> 2) If I want that "myscript.js" will reference to another javascript - how
> can I do that ?
No, there is no direct way of doing this. There are hacky workarounds (like
creating dynamic script blocks and setting the src, or cracking open an
XMLHTTP object and eval-ing the download.... but don't go there.
Peter

Signature
Peter Torr - http://blogs.gotdotnet.com/ptorr/
This posting is provided "AS IS" with no warranties, and confers no rights
Samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
bruce barker - 01 Oct 2003 17:21 GMT
also if you use external script blocks, you should not call function until
page load, as the code may not yet be loaded.
> > in the html I wrote :
> > <script lanuage = "javascript" src = "myscript.js">
[quoted text clipped - 21 lines]
> Samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm