TypeError no detectado: $ .handleError no es una función

    if (! jQuery.handleError) jQuery.extend ({         handleError: function (s, xhr, status, e) {             if (s.error) {                 s.error.call (s.context || s, xhr, status, e );             }             if (s.global) {                 (s.context? jQuery (s.context): jQuery.event) .trigger ("ajaxError", [xhr, s, e]);             }         },         httpData: function (xhr , tipo, s) {             var ct = xhr.getResponseHeader ("content-type"),                 xml = type == "xml" ||! type && ct && ct.indexOf ("xml")> = 0,                 data = xml ? xhr.responseXML: xhr.responseText;












            if (xml && data.documentElement.tagName == "parsererror")
                throw "parsererror";
            if (s && s.dataFilter)
                data = s.dataFilter (datos, tipo);
            if (typeof data === "string") {                 if (type == "script")                     jQuery.globalEval (data);                 if (tipo == "json")                     datos = ventana ["eval"] ("(" + datos + ")");             }             devolver datos;         }     });







Supongo que te gusta

Origin blog.csdn.net/slwsss/article/details/91953556
Recomendado
Clasificación