摘要: 1.javaScript的trim();函数在ie中的不支持,重写trim()方法;//跨浏览器的trim脚本String.prototype.trim = function(){return this.replace(/(^\[*)|(\]*$)/g,"");} 阅读全文
posted @ 2013-05-24 10:22 飞翔的花狸猫 阅读(154) 评论(0) 推荐(0) 编辑