开发者

ajax search suggest escape encoding

开发者 https://www.devze.com 2022-12-25 10:01 出处:网络
if encoding using escape(data) in javascript, how to decode it in server side? I use ajax to post encoding data with escape javas开发者_StackOverflow社区cript function, how can I decode it at the ser

if encoding using escape(data) in javascript, how to decode it in server side?

I use ajax to post encoding data with escape javas开发者_StackOverflow社区cript function, how can I decode it at the server side with classic asp


If you are passing arguments in URL (get method), do not use encode().. use encodeURI() function instead. Now, the data (I mean the parameters you pass) comes decoded automatically.

0

精彩评论

暂无评论...
验证码 换一张
取 消