Multiple client side scripting languages

Results 1 to 2 of 2

Thread: Multiple client side scripting languages

  1. #1
    Join Date
    Dec 1969

    Default Multiple client side scripting languages

    Hi,<BR><BR>did any body used multiple languages for client side scripting.I need to call one function in client side vbscript(for client side component) if the browser is IE otherwise i need to use server side script.except this function which uses client side component all other client side validations &functionality is in javascript.My question is on server side i am using VBscript, and on client side i am using javascript.Now can also use client side vbscript in addition to client side javascript?<BR>Any help will be appreciable.<BR>Thanks in advance,<BR>Neelima

  2. #2
    Join Date
    Dec 1969

    Default Try it!

    Just set the language for your script.<BR>&#060;script language=javascript&#062;<BR>function sayHello(){<BR>alert(&#039;Hello&#039;);<BR>}<BR>& #060;/script&#062;<BR>&#060;script language=VBScript&#062;<BR>Sub sayHello()<BR>Msgbox "Hello"<BR>End Sub<BR>&#060;/script&#062;<BR>I&#039;m pretty sure that works fine in IE<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts