摘要: //功能:JavaScript的Trim(), Ltrim(), RTrim() 函数//来源:http://jorkin.reallydo.com/article.asp?id=460String.prototype.Trim = function(){ return this.replace(/(^\s*)|(\s*$)/g, "");}String.prototype.LTrim = ... 阅读全文
posted @ 2008-02-18 14:51 pboy2925 阅读(187) 评论(0) 推荐(0)
摘要: //功能:JavaScript的Trim(), Ltrim(), RTrim() 函数//来源:http://jorkin.reallydo.com/article.asp?id=460String.prototype.Trim = function(){ return this.replace(/(^\s*)|(\s*$)/g, "");}String.prototype.LTrim = ... 阅读全文
posted @ 2008-02-18 14:51 pboy2925 阅读(155) 评论(0) 推荐(0)