何时从jQuery中删除handleError? [英] When was handleError removed from jQuery?
本文介绍了何时从jQuery中删除handleError?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在重新访问一些旧代码,并发现它不适用于jQuery 1.6,因为它找不到$.handleError()
.快速搜索jQuery代码不会显示任何内容,因此我猜想此功能已被删除/替换.
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.
有人知道首先缺少哪个版本的handleError函数,以及它是否可以直接替换吗?
Does anyone know which version the handleError function was first missing from, and if it has a direct replacement?
推荐答案
似乎handleError()
在jQuery 1.5中已被删除.我在网上看到的大多数解决方案
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中删除handleError?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文