From Jscript to Vbscript

Results 1 to 2 of 2

Thread: From Jscript to Vbscript

  1. #1
    Jefke 'The initiate& Guest

    Default From Jscript to Vbscript

    how do I pass the value of a Jscript variable to<BR>a Vbscript variable<BR><BR>because this doesn&#039;t work<BR>&#060;SCRIPT&#062;<BR> function getCookie(file) {<BR> ...<BR> return value }<BR>&#060;/SCRIPT&#062;<BR><BR>dim value // value = vbscript variable<BR>value = getCookie(file) // getCookie = function in Jscript

  2. #2
    Join Date
    Dec 1969

    Default That *should* work...

    *ASSUMING* that both the JS and VBS code are on the client (or both on the server). Naturally, if JS is on the client and VBS is on the server it will never work. In which case see the ASPFAQs, I believe under the category "the nature of things".<BR><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