
Passing variables from server-side to client-side
How can I pass variables from server-side to client-side
within the same page?
For example, how I can uses the variable myvar defined in
server-side in client-side?:
<% option explicit
dim myvar
myvar = "hi"
%>
<html>
<head>
<title>Prueba con varios Recordset</title>
<script language="VBScript">
sub buttonok_onclick
alert myvar
end sub
</script>
</head>
<body>
<basefont FACE="Verdana" COLOR="RoyalBlue">
............................
</body>
</html>
Thank you!