日期:2014-05-16  浏览次数:20452 次

js 去除前后空格
function String.prototype.Trim() { return this.replace(/(^\s*)|(\s*$)/g, ""); }