|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Pass value from Client to Server |
From: |
Bullschmidt |
Date: |
7/31/2001 3:22:09 AM |
IP: |
205.188.192.166 |
It's easy to use the value of a VBScript variable in JavaScript:
document.writeln('<%= MyVBScriptVariable %>');
Or here is an example which puts the value of a VBScript variable into a JavaScript alert box:
Response.Write "<script language='JavaScript'>alert('The value is " & MyVBScriptVariable & "');</script>"
But to send the value of a JavaScript variable to VBScript, well that's another story. You could have the JavaScript fill in a hidden form field and then post the form. That way VBScript can pick up the value of the hidden form field with Request.Form("MyFieldName")
Best regards,
-Paul
Bullschmidt.com - Web Database Developer
http://www.Bullschmidt.com
Bullschmidt Bar Chart - Free ASP Bar Chart Tool
http://www.Bullschmidt.com/BarChart.asp
|
Previous Message
Follow Up - Re: Pass value from Client to Server - GiLLian 8/8/2001 3:21:27 AM
|
|
|
|
|
|
|
|
|
|
|
|