Object不支持此属性或方法IE8和Countdown.js插件 [英] Object doesn't support this property or method IE8 and Countdown.js Plugin

查看:144
本文介绍了Object不支持此属性或方法IE8和Countdown.js插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IE8中的错误:预期的对象

Error in IE8: Object expected

代码:

return base[name].apply(this, args);

IE8中的另一个错误(单独的脚本):Object不支持此属性或方法

Another error in IE8 (separate script): Object doesn't support this property or method

$('.timer', currentOffer).countdown({until: offerEnd, serverSync: serverTime, compact: true, alwaysExpire:true, onExpiry: function(){expireOffer(currentOffer);}
});

现在正在撞墙一段时间。

Been banging head against wall for a while now on this one.

如果你想看到一个包含所有代码和各种插件等的JS小提琴,那么: http://jsfiddle.net/ZUTL6/13/

If you'd like to see a JS fiddle that has all the code and various plugins etc then: http://jsfiddle.net/ZUTL6/13/

一切正常> IE8

非常感谢任何帮助!

推荐答案

该插件的所有者刚刚在3小时前添加了修复程序:
https://github.com/kbwood/countdown/issues/41

The owner of the plugin just added a fix for this 3 hours ago: https://github.com/kbwood/countdown/issues/41

只需要下载最新版本的jquery.plugin.js

Just need to downloaded the latest version of jquery.plugin.js

这篇关于Object不支持此属性或方法IE8和Countdown.js插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆