JS的decodeURIComponent()函数用ASP怎么实现
------解决方案--------------------
后台直接调用JS函数
<%
response.write jsDecodeURIComponent( "%E6%B5%8B%E8%AF%95" )
%>
<script language="jscript" runat="server">
function jsDecodeURIComponent(str){return decodeURIComponent(str) }
</script>
------解决方案--------------------
<script type="text/javascript">
var url="http://www.w3school.com.cn/";
document.write(encodeURIComponent(url));
</script>
Response.write Server.URLEncode("http://www.w3school.com.cn/")