|
发表于 2014-1-2 15:58:38
|
显示全部楼层
可以在接收的时候这样转换
var companyName = justep.Context.getRequestParameter("Company-Name");
var productName= justep.Context.getRequestParameter("Product-Name");
var categoryName= justep.Context.getRequestParameter("Category-Name");
alert(categoryName);
if(companyName){
companyName = companyName.replace(/~/gm, "%");
companyName = decodeURIComponent(companyName);
alert(companyName);
}
if(productName){
productName = productName.replace(/~/gm, "%");
productName = decodeURIComponent(productName);
}
if(categoryName){
categoryName = categoryName.replace(/~/gm, "%");
categoryName = decodeURIComponent(categoryName);
}
|
|