地址前面添加encodeURI()
1、
var url = encodeURI('xxxAction.action?para='+中文); $('#cc').combobox({ url : url, editable : false, valueField : 'cityId', textField : 'cityName' });
2、
// 打印报表
function printReport(obj) {
var url = encodeURI("@Url.Action(ViewBag.Print, "Report")?Year=" + $("#Year").val() + "&Month=" + $("#Month").val() + "&caseStatus=" + $("#casetypelist").val());
obj.href = url;
return true;
}