I'm revisiting some old code, and have found it doesn't work with jQuery 1.6 because it cannot find $.handleError()
. A quick search of the jQuery code shows nothing, so I guess this function has been removed/replaced.
我正在重新访问一些旧代码,并发现它不能与jQuery 1.6一起使用,因为它无法找到$ .handleError()。快速搜索jQuery代码什么都没有,所以我想这个函数已被删除/替换。
Does anyone know which version the handleError function was first missing from, and if it has a direct replacement?
有谁知道handleError函数首先缺少哪个版本,以及它是否有直接替换?
1 个解决方案
#1
19
It looks like handleError()
was removed in jQuery 1.5. Most solutions I've seen online create their own error functions. Hope that helps
看起来在jQuery 1.5中删除了handleError()。我在网上看到的大多数解决方案都会创建自己的错误函数。希望有所帮助
#1
19
It looks like handleError()
was removed in jQuery 1.5. Most solutions I've seen online create their own error functions. Hope that helps
看起来在jQuery 1.5中删除了handleError()。我在网上看到的大多数解决方案都会创建自己的错误函数。希望有所帮助