J
Julesh
Hello,
I am new to ASP and am trying to make some changes to some ASP 3.0 code
I have inherited.
I have a number of ASP pages with VBS as the base language, on each of
these pages I have successfully included a piece of VBS code that
produces output in a table cell by using:
<!--#include file="showAnswers.inc" -->
I have added a new page to the site where the base language is
JavaScript. If I try to use the same include line there it doesn't work
as it correctly detects that the code in the include file is written in
VBScript not JavaScript.
So I tried...
<Script language="VBScript" src="showAnswers.inc" </Script>
The page runs in the browser without error but the code in the include
file isn't included so I don't get the output I expect.
So i try...
<Script language="VBScript" src="showAnswers.inc" RUNAT="server"></Script>
The include now works but the output of the included code appears at the
top of the output, not in the table cell where I want it.
I have no idea how to resolve this. Can anyone help?
Thanks
Jules
I am new to ASP and am trying to make some changes to some ASP 3.0 code
I have inherited.
I have a number of ASP pages with VBS as the base language, on each of
these pages I have successfully included a piece of VBS code that
produces output in a table cell by using:
<!--#include file="showAnswers.inc" -->
I have added a new page to the site where the base language is
JavaScript. If I try to use the same include line there it doesn't work
as it correctly detects that the code in the include file is written in
VBScript not JavaScript.
So I tried...
<Script language="VBScript" src="showAnswers.inc" </Script>
The page runs in the browser without error but the code in the include
file isn't included so I don't get the output I expect.
So i try...
<Script language="VBScript" src="showAnswers.inc" RUNAT="server"></Script>
The include now works but the output of the included code appears at the
top of the output, not in the table cell where I want it.
I have no idea how to resolve this. Can anyone help?
Thanks
Jules