Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9233305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:31:20+00:00 2026-06-18T06:31:20+00:00

I seem to have found an undocumented breaking change in jQuery 1.8.3. While upgrading

  • 0

I seem to have found an undocumented breaking change in jQuery 1.8.3.

While upgrading a page from jQuery 1.7 to 1.8.3 one of our ajax calls of type “HEAD” stopped working.

Upon debugging the success callback is fired but the parameter, “xhr” is null when I use the google CDN to run the page in jQuery 1.8.3.

If I switch back to 1.7 the xhr object is fully operational and not null.

I have scoured google and jQuery site for breaking changes in 1.8.* but can find nothing on point. I need to upgrade this as another library I need to use requires the latest jQuery so I am now between a rock and a hard place.

Code is as follows:

$.ajax({
    type: "HEAD",
    async: false,
    cache: false,
    url: pth + b,
    error: function (xhr) {

    // always succeeds

    },
    success: function (xhr) {
        // in jQuery 1.7.0 ONLY xhr is a non-null object - 1.8.3/1.9.0 receive a null object as a parameter
        c = xhr.getResponseHeader('x-amz-meta-mix');
        if (c == null) c = b;

    }
});

Thanks!

PS- I should add that in Fiddler the response is always 200 and the information I am looking for is always present. The issue is that the xhr object is null if I do not use jQuery 1.7.0 in favor of 1.8.3 or 1.9.0

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:31:21+00:00Added an answer on June 18, 2026 at 6:31 am

    It seems that jQuery has changed the format of the success callback. In 1.8 and later it is:

    Type: Function( Object data, String textStatus, jqXHR jqXHR )

    The jqXHR is now the third argument, rather than the first, so change your success handler to:

    success: function (data, status, xhr) {
        ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I seem to have found a bug in jQuery UI that duplicates dragged elements
I seem to have a problem passing some strings on from one form to
I have done a load of searching but haven't found anything. There seem to
I seem to have hit a snag while building my project using Ant. The
I seem to have found a weird edge case where it seems that a
I seem to have found a bug in Ruby, but I'm not sure so
Hi all, I seem to have found a discrepancy when testing ASP.NET applications locally
All the knockout examples I have found seem to add a new item to
EDIT: I seem to have found something that's helped. I retained the ivar stack
I have found a few articles on this topic, but I can't seem to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.