I have the code of Jquery for link to the asp page as below:
Jquery code:
var url = "script_right2.asp?soc="+societe+"&phoneNum="+phoneNumber+"&seleDro="+sedro+"&desc="+des;
I want to get the value of societe,phoneNumber,seleDro,desc
to the page script_right2.asp
But the problem is that I do not know how to get these data in asp page using vbscript.
I'm not sure what the question is so I'll answer it twice!
To replicate what you have using VBScript:
dim stringUrl
stringUrl = "script_right2.asp?soc=" & societe & "&phoneNum=" & phoneNumber & "&seleDro=" & sedro & "&desc=" & des;
Or, if you want to get the value of the variables from the query string you could do
dim soc
dim phone
dim sedro
dim desc
soc = Request.QueryString("soc")
phone = Request.QueryString("phoneNum")
sedro = Request.QueryString("seleDro")
desc = Request.QueryString("desc")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With