|
|
|
|
|
| | |
|
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Nested script errors |
From: |
Grant |
Date: |
4/4/2001 9:34:29 AM |
IP: |
213.122.39.219 |
Hi All,
I've just added asp code written by myself to some html pages written by someone else. (and renamed to .asp)
Problem I have is I get Preprocessor errors:
Nested Script Block
A script block cannot be placed inside another script block.
The offending piece of code is this:
<SCRIPT LANGUAGE="JavaScript1.2">
<!--
document.write("<SCRIPT SRC=\"../script.js\"><\/SCRIPT>");
document.write("<SCRIPT SRC=\"../effects.js\"><\/SCRIPT>");
//-->
</SCRIPT>
Now is this because my asp language is VBScript whilst the developer has used Javascript?
And more importantly, how can I get aroud this problem!!!
Any help greatly appreciated,
Grant.
|
Follow Up - Re: Nested script errors - Susan 5/17/2001 4:05:58 AM
|
|
|
|
|
|
|
|
|
|
|
|