Roberta McGervey wrote:
I got the following code from MSDN to use as an example. So if I am
mixing to two languages it is because the MSDN is incorrect.
No, it's because your code is incorrect.
MSDN's code:
<SCRIPT LANGUAGE="VBScript">
Your code:
<Script LANGUAGE=vbscript RUNAT=Server>
See the difference?
Actually, Stuart was incorrect: you are not mixing two languages. Your
mistake is attempting to use a server-side script block (RUNAT=Server) to
run code that can only run on the client.
This is the main obstacle to people attempting to learn to use asp (myself
included): learning the difference between server-side code and client-side
code. There are many asp tutorial sites out there (
www.asp101.com, etc.)
that do a reasonable job of explaining the differennce better than i can do
in an email message.
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.