From my javascript i try to post data to my asp page using encodeURIComponent
var dd = encodeURIComponent(document.getElementById("Remarks").innerHTML);
How i decode my encodeURIComponent in asp page using vbscript?
hoping your support
i think you mean you want to decode the URI component in the vb.net code behind and not vb script.
the thing here is you don't have to it...Request.Querystring("query_string_variable")
automatically does it for you.
if you explicitly want to do it you can use
HttpUtility.UrlDecode()
in .net
if you want to do it in VBscript , see the answer by Valerio
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