Access client variable within server-tags in vbscript
问题 I have the following block of code that's im running in an asp-page: <script language="VBScript"> sub ok_onclick() dim localVariable localVariable= "hello" <% call serversideFunction(localVariable) %> end sub The following block <% call ServerSideFunction(localVariable) %> Throws the following error: An unhandled exception ('Variable is undefined: 'localVariable'') occurred in dllhost.exe [24184] I've noticed that i can't put my local variables within the servercode-tags. So my question is,