js:常用到的js操作记录
时间:2014-02-11 15:53:17
收藏:0
阅读:434
1:对参数去除空格
str.replace(/^\s+|\s+$/g, ‘‘);
原文:http://www.cnblogs.com/xxmb/p/3543973.html
评论(0)
1:对参数去除空格
str.replace(/^\s+|\s+$/g, ‘‘);
原文:http://www.cnblogs.com/xxmb/p/3543973.html