Picture it this way. If you wanted to give b the value of 10 in your
client-side code, you'd do:
<script language=vbscript>
Dim b
b=10
</script>
So, what you want is the number 10 in your response. Well, on the server,
the "a" variable has a value of 10, so you'd want to response.write the
evaluated value of the server-side variable, a.
<%
''server side code
Dim a
a = 10
%>
<script language=vbscript>
''client side code
Dim b
b=<%=a%>
</script>
Ray at home
"Jack" <si*****************@noyahoo.co.jp> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hello,
<%@ Language=VBScript %>
<%
dim a
a=10
'I want b=a at this place
%>
<Script language=VBScript>
dim b
</Script>
How can a'value be given to b by program?
Thank you