手机开发和网站开发前景,开创者wordpress素材,织梦是怎么做网站,网站分析工具有哪些因为采用data:字符串这种形式#xff0c;和是jquery分隔参数的分隔符#xff0c;所以会丢失#xff0c;解决方法就是把text文本中的和替换掉#xff0c;用js里面的encodeURIComponent编码#xff0c;为了省事#xff0c;直接写出编码替换.. function FixJqText…因为采用data:字符串这种形式和是jquery分隔参数的分隔符所以会丢失解决方法就是把text文本中的和替换掉用js里面的encodeURIComponent编码为了省事直接写出编码替换.. function FixJqText(str) {var tempstr str.replace(/\/g, %2B);tempstr tempstr.replace(/\/g, %26);return tempstr;
} 转载于:https://www.cnblogs.com/firesnow/archive/2013/04/14/3020391.html