摘要: 解决方法: 方法1: 使用jquery里面的全局函数$.trim()代替原生js方法trim(): $.trim( 你要替换的字符 ); 方法2: Function.prototype.method = function (name, func) { this.prototype[name] = func; return this;};if (!String.p... 阅读全文
posted @ 2014-06-18 15:53 梨花驿路 阅读(2441) 评论(0) 推荐(0)