February 28th, 2001, 03:34 PM
I was thinking maybe having the JS somehow call a VBS function but I'm unsure about that.
March 1st, 2001, 09:47 AM
My answer is: Probably not. (please prove me wrong)
javaScrVariable = <%=VBscrVariable%>
javaScrVariable = "<%=VBscrVariable%>"
Also I guess you´re using VBscript as ASP which runs on the server, before the page is shown in the browser. In this way, the variable won´t really exist when it reaches the browser.
Tell me if I´ve got it all wrong.
March 9th, 2001, 06:34 PM
However, you can access the value of a variable
by printing it (<%=variable%>), or (<%Response.Write(variable)%>).