IE下Ajax提交乱码的快速解决方法
2017-02-06
57
哈哈,试了这么多还是encodeURIComponent管用啊!!!!在汉字的位置加个保护措施:encodeURIComponent(parentid)function loadCity(parentid) {var city = "${hotel.city}";$.ajax({url: "./listCity.jspx?prov="+ encodeURIComponent(parentid),type: "GET",dataType: "JSON...