jquery - 完整的日历兼容性失败?

标签 jquery fullcalendar

当我尝试使用最新的 jQuery 1.10.x 加载 fullCalendar 时,它什么也没显示: http://jsfiddle.net/vwasteels/JWs5j/1/

// not working...

但是如果我将 jQuery 降级到 1.7.2 ,它就可以工作: http://jsfiddle.net/vwasteels/JWs5j/2/

我不明白,因为它写在 FullCalendar 网站上:

Browser Testing

FullCalendar has been tested with:

jQuery 1.10.2 / jQuery UI 1.10.3 Firefox, Chrome, Safari, IE 7+

最佳答案

如果您打开控制台,您会看到他们正在尝试使用名为 curCSS 的方法,该方法不存在并且抛出错误。

此外,您没有使用最新版本的日历。你的 fiddle 中已经有版本 1.5.3,但最新的是 1.6.4,它与 jQuery 1.10.2 配合得很好:

http://jsfiddle.net/JWs5j/3/

关于jquery - 完整的日历兼容性失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20055639/

相关文章:

javascript - 为什么这个 google.load, google.setOnLoadCallback 脚本不起作用?

javascript - fullCalendar 没有显示正确的结束日期

javascript - 是否可以使用 <span> 中的值作为 Ruby 函数的参数?

javascript - Paypal Express Checkout 窗口不断加载

javascript - 使用 JavaScript/jQuery 对数组进行表单验证

javascript - 创建后更新 Fullcalendar 事件吗?

javascript - 全日历中的多个工作时间,每天两类

javascript - Fullcalendar无法访问drop中的html5数据属性,仅在Firefox上

javascript - jQuery 菜单 if 语句故障

javascript - 无法在下拉菜单中使用 .hasClass ("active") 方法