报错信息

object doesn't support this property or method

请看jquery官方说明:

http://jquery.com/download/


jQuery Pre-Release Builds

The jQuery team is constantly working to improve the code. Each commit to the Github repo generates a work-in-progress version of the code that we update on the jQuery CDN.These versions are sometimes unstable and not suitable for production sites.We recommend they be used to determine whether a bug has already been fixed when reporting bugs against released versions, or to see if new bugs have been introduced. There are two versions, one for the 1.x branch (supports IE 6/7/8) and one for the 2.x branch (not for use with old IE).


其中jquery 分为1.x 和 2.x 。2.x 不支持IE6/7/8 如果你的版本的是2.x 肯定在IE8中肯定有错误,但是错误不是这个。


这个错误是,我们要兼容IE8时,降版本,从2.x 降到1.x 但是页面引用或者特性没有清干净导致的。所以请检查的界面上引用。

我的的项目,出现这样错误时因为 虽然页面没有引用了,但是我还是保留2.x 的文件,结果VS2012 MVC4的项目自动引用最高版本的jquery导致出现这个问题,删除就好了。


RE: IE8 - Object doesn't support this property or method

Ensure you're using either jQuery migrate or <= jQuery 1.9.1. jQuery 2+ has no oldIE support (6,7,8)

更多相关文章

  1. DataTables警告:table id = DataTables_Table_0 - Ajax错误。有
  2. 如何在使用jquery验证和自定义错误放置时清除错误
  3. Ajax调用php脚本返回404错误
  4. Jquery验证插件,获取错误字符串
  5. 与symfony一起使用ajax时出现500内部服务器错误
  6. Chrome显示错误为:由于内容安全策略,拒绝执行内联脚本
  7. CSS样式如何解决IE浏览器不同版本的兼容问题
  8. Java applet错误…怎么了?
  9. Jquery - 表单验证,为错误消息添加css样式

随机推荐

  1. [置顶] Linux 内核学习(1)
  2. linux下crontab 任务不执行的可能原因总
  3. 第四组内部linux比赛命题
  4. 有种生活态度叫 Linux
  5. Shell编程笔试题
  6. MEMCACHED缓存及状态查看
  7. CentOS7.2 通过nfs设置共享文件夹
  8. wget在linux中安装出现错误解决办法
  9. linux下编译 出现 cc1: warnings being t
  10. 如何安装linux系统