[Javascript] SRC=Javascript file

Andrew Gibson andyg at ihug.co.nz
Thu Apr 19 04:35:47 CDT 2001


You know how you can link to a file in Script ie

<script src=js.asp>

</script>

In that file, how can I escape the JS code....eg

I might  have  

alert ("Hello world")

but then I might want to use some ASP script to
get another value eg


<% txt=now  %>

alert (txt);

Can I do that somehow?  Didn't seem to work when I tried it.

Andrew





More information about the Javascript mailing list