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 6048433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:27:45+00:00 2026-05-23T07:27:45+00:00

I have this weird issue that jquery.load sometimes fails on chrome. I’m not gonna

  • 0

I have this weird issue that jquery.load sometimes fails on chrome. I’m not gonna bother you guys with the details, I’m just looking for a pointing hand on how can i debug such an issue?

I thought of maybe the firebug could help, but the issue happens only on chrome (even works on IE).

I do something like:

$("#contentid").html("Plz wait.");
$("#contentid").load(url);
$("#contentid").show();

I get only the “Plz wait” on #contentid, and i can see the url getting called, and check it manually and see it succeeds.

UPDATE2:

so i changed the load calls according to suggestions

$('#conentid').load(url, function(response, status, xhr){
  alert('Load was performed. url:' + url);
  if (status == "error") 
  {
    alert("text: " + xhr.statusText);
    alert("readyState: "+xhr.readyState+"\nstatus: " + xhr.status);
        alert("responseText: "+xhr.responseText);
  }
  else
  {
      $("#conentid").show(); 
  }
});

I get status==’error’ when the errors occur.

xhr.statusText: 0

xhr.readyState: 4

xhr.statusText and xhr.responseText are empty

any idea why? what does this mean?

The url works manually. and this error happens only on chrome, and only sometimes

  • 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-05-23T07:27:46+00:00Added an answer on May 23, 2026 at 7:27 am

    Maybe someone else could have an explanation for this answer, but the problem was:

    I had a base href TAG (<base href="http://domain.com/" />)

    There are some references for problems with using jquery + base href out there.
    I have no idea why, but removing this line fixed everything. thanks for all your help, I learned some web debugging\ajax tips in the process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running a weird issue here. I have code that makes jquery ajax calls
I have this weird issue. I am trying to create a service that synchs
So I have this weird issue that i am hitting, i have a slide
This is pretty weird. I have my Profiler open and it obviously shows that
This one is weird, I have a page that consists of a html table
I have this weird crash that only happens when running the app on the
I'm having a weird issue that I can't track down... For context, I have
Having a weird issue. I'm new to Macs and have a windows VM that
I've got a weird linker issue. I have code that looks like so: double
I have a weird issue whereby I'm programming a carousel-type animation in jQuery. I

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.