[jQuery] Cannot read property ‘msie’ of undefined错误的解决方法
[jQuery] Cannot read property ‘msie’ of undefined错误的解决方法
最近把一个项目的jQuery升级到最新版,发现有些页面报错Cannot read property ‘msie’ of undefined。上jQuery网站上搜了一下,原因是$.browser这个api从jQuery1.9开始就正式废除,js代码里只要用到$.browser
原创
2016-01-30 11:15:30 ·
325 阅读 ·
0 评论