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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:34:14+00:00 2026-05-31T04:34:14+00:00

I have a very special problem with jQuery ajax requests. when a user is

  • 0

I have a very special problem with jQuery ajax requests.

when a user is browsig various parts of the webpage, there are jquery get() calls to fetch some content.
The thing is that those requests stop working on random occasions.
When I check the request response in firebug, the request status is 200 OK, but the firebug request is colored as red as in there was an error, but there is no error message.

The response tab in firebug is empty.

The thing is that is I visit those urls normally, not thought ajax, the content is returned normally.

So if I restart the browser it’s all good again,
I’m using jquery 1.7.1 and jquery.effects.core.js

Here’s where I make the request:

$.get('abc', function(data) {
...
}).error(function(xhr, status, error) { alert("An AJAX error occured: " + status +     "\nError: " + error);});

The alert gets called when the problem occurs and the ‘status’ variable has value of ‘error’ and the ‘error’ variable is an empty string…

I really have no idea what could the problem. Some help would be appreciated

  • 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-31T04:34:15+00:00Added an answer on May 31, 2026 at 4:34 am

    Remember to always catch errors and report them so you can find the problem without guessing what it may be:

    $.ajax({
        url : '<url>',
        success : function (serverResponse) { ... },
        error   : function (jqXHR, textStatus, errorThrown) {
            if (typeof console == 'object' && typeof console.log == 'function') {
                console.log(jqXHR);
                console.log(textStatus);
                console.log(errorThrown);
            }
        }
    });
    

    This checks to make sure that console.log exists and is a function before trying to use it. If console.log exists then this will log the all the error information associated with the AJAX request.

    Docs: http://api.jquery.com/jquery.ajax

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

Sidebar

Related Questions

We have very strange problem, one of our applications is continually querying server by
i have very simple problem. I need to create model, that represent element of
I have ASP.NET MVC application that has list with jQuery Selectable list. My problem
I have a very large problem. I've written a large app using Flex3/Tomcat/BlazeDS/Spring that
I´ve got a special problem, that first seems very easy but I don´t know
I have a very simple problem regarding plot settings. I would like to have
I have a very simple problem. I have an application which is written in
I have a problem setting a cdata node with jquery. Getting cdata is easily
I have a problem with Zends headTitle command and special characters, mainly Swedish characters
actually I'm have a very simple problem (that's for sure) I just can't find

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.