这篇文章来给大家总结一下关于asp.net中url字符串编码乱码的原因与解决方法,有需要了解的朋友可以参考一下
先看实例
代码如下:
function webChart() {
var t = document.getElementById(“txtReceive”);
if (t.value == null || t.value == “”
var t = document.getElementById(“txtReceive”);
if (t.value == null || t.value == “”
来源gao!%daima.com搞$代*!码网
) {
alert(“请先进行查询”);
}
else {
alert(t.value);
document.getElementById(“center-iframe”).src = “map/industryMap.aspx?_indeustry=” + t.value;
}}
以上就是asp.net中url字符串编码乱码的原因与解决方法的详细内容,更多请关注gaodaima搞代码网其它相关文章!