简体   繁体   English

将jQuery升级到1.11.1后,jQuery timepicker滑块不起作用

[英]jQuery timepicker slider not working after upgrading jQuery to 1.11.1

We just upgraded the jquery version in our application. 我们刚刚在应用程序中升级了jquery版本。 After upgrade, slider in time picker stopped working. 升级后,时间选择器中的滑块停止工作。

The error I get is 我得到的错误是

Error: TypeError: e is undefined
Source File: jquery.js line 338 > eval

Please help. 请帮忙。

As of jQuery 1.9, the old deprecated $.browser function was removed, and perhaps other deprecated functions as well. 从jQuery 1.9开始,旧的不推荐使用的$ .browser函数被删除了,也许其他不推荐使用的函数也被删除了。 Many errors about jQuery 1.9 upgrade are related to this. 有关jQuery 1.9升级的许多错误与此相关。 Does the console throws an error related to $.browser ? 控制台是否抛出与$ .browser相关的错误?

Either keep an older jQuery version (up to 1.8.3), or use the "jQuery Migrate" plugin which will add the $.browser support. 保留较旧的jQuery版本(最高1.8.3),或使用“ jQuery Migrate”插件将添加$ .browser支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM