js传“+”或“&”到后台变空值的问题

//传“+”到后台变空值
ClientDigest = ClientDigest.replace(/\+/g,"%2B");
//传“&”到后台变空值
ClientDigest = ClientDigest.replace(/\&/g,"%26");

 

posted @ 2016-10-31 15:09  尚荣伊翁  阅读(627)  评论(0编辑  收藏  举报