Click to See Complete Forum and Search --> : using 2 server side scripts


blanketboy
November 19th, 2003, 04:54 AM
Hi,

I have an asp file which includes 2 inc files. One file specifies Javascript and the other specifies VBScript. When I open up the asp page, it says that I cannot use the @ command more than once. Is there any way that I can get around this. It would take me very long to convert the VBScript code into Javascript. So please let me know what I can do.

Thanks!

;)

Satishpp
November 19th, 2003, 11:24 AM
What syntax are you using to include the files?

You could use

<!-- #include file="xxxxxx.inc" -->

or

<script src="ClientJS/xxxxxx.js"></script>

both of which can be used multipe times in your asp file.

Satish