1、jquery中的trim()方法:chrome支持,IE不支持。解决方法:
自定义trim(): String.prototype.trim = funtion(){return this.replace(/\s^+/,'').replace(/\s+$/,'');}
2、IE不支持js中的 JSON对象(JSON.stringify(Obj) 和 JSON.parse(String))。解决方法:
http://code.google.com/p/jquery-json/ 下载并引用 jquery.json2.4.js