CustomControlValidation client side: jscript or vbscript?

E

Eric Mamet

I would rather use all jscript on the client side but I am trying to
modify a Page which uses vbscript routines for some of the custom
validation on the client side.

I am not experienced in mixing both languages on the client and I have
difficulty to get the Custom Control validation to fire the "right"
language.

Is there a way to force the client side language?
It seems to try to use javascript while my code is in a vbscript
include file <SCRIPT LANGUAGE=vbscript SRC=...


Thanks


Eric M.
 
B

bruce barker

the default script language for IE is javascript, if no language is
specified in any of the script blocks. if the first script block on the page
specifies a language, that becomes the default language for the page. the
language specified in the script block always overrides the default. if you
are going to mix languages on the page, you should specify the language for
every script block.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top