window.open(url)打开新页面是如果要通过地址栏来传参要注意

var qt = "";
qt += "&teachMaterialDealInfo.bookids="+selectBooks;
qt += "&teachMaterialDealInfo.writername="+encodeURI($('#writername_v').val());
qt += "&teachMaterialDealInfo.duties="+encodeURI($('#duties_v').val());
qt += "&teachMaterialDealInfo.positional="+encodeURI($('#positional_v').val());
qt += "&teachMaterialDealInfo.unit+qt);

参数要用encodeURI()转换ie的地址栏中不能有中文参数值

相关文章: