摘要:
[代码][代码] 阅读全文
posted @ 2010-03-12 18:02
tohen
阅读(960)
评论(0)
推荐(0)
摘要:
去掉左右空格String.prototype.trim=function (){return this.replace(/(^\s*)|(\s*$)/g,'');}去掉全部空格:String.prototype.mm = function (){return this.replace(/\s/g, '');} 阅读全文
posted @ 2010-03-12 17:27
tohen
阅读(327)
评论(0)
推荐(0)

浙公网安备 33010602011771号