jQuery 1.0.2

2020-05-23 06:10:44易采站长站整理

                if ( status != “error” ) {
                    // Cache Last-Modified header, if ifModified mode.
                    var modRes;
                    try {
                        modRes = xml.getResponseHeader(“Last-Modified”);
                    } catch(e) {} // swallow exception thrown by FF if header is not available
                    if ( ifModified && modRes )
                        jQuery.lastModified[url] = modRes;
                    // If a local callback was specified, fire it
                    if ( success )
                        success( jQuery.httpData( xml, dataType ), status );
                    // Fire the global callback
                    if( global )
                        jQuery.event.trigger( “ajaxSuccess” );
                // Otherwise, the request was not successful
                } else {
                    // If a local callback was specified, fire it