CustomControlValidation client side: jscript or vbscript?

  • Thread starter Thread starter Eric Mamet
  • Start date Start date
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.
 
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)
 
Back
Top