Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use a Javascript variable in VBscript in ASP?

Status
Not open for further replies.

asuknow

Programmer
Sep 28, 2001
26
US
e.g.:
< script language=Javascript runat=server>
x=100
</script>

< script language=Vbcript runat=server>
how can I get the value of x from Javascript?
</script>

Thanks for your tips!
 
< script language=Javascript runat=server>
Session(&quot;x&quot;)=100
</script>

< script language=Vbscript runat=server>
Dim y
y = Session(&quot;x&quot;)
</script>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top