摘要: JS中去掉空格 //去除空格 String.prototype.Trim = function() { return this.replace(/\s+/g, ""); } //去除换行 function ClearBr(key) { key = key.replace(/<\/?.+?>/g,"" 阅读全文
posted @ 2015-11-16 19:24 惟吾德馨‘ 阅读(529) 评论(0) 推荐(0) 编辑