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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:50:01+00:00 2026-05-20T05:50:01+00:00

I use jQuery’s ajax method to make jsonp requests to my server (I make

  • 0

I use jQuery’s ajax method to make jsonp requests to my server (I make a request every now and then). This usually works just fine, the server returns a response and my “success” callback function is triggered.

Problem is, after a while, the success function stops being called, even though I receive a successful response from the server. When this happens, every successive jsonp request also “fails” (even from other places in the code and\or to other paths on my server).

Things I’ve checked:

  1. The response from the server is valid (the same as other successful responses).

  2. The jsonpXXX callback function that jQuery creates, is indeed globally defined.

  3. When I open multiple browsers on the same page, it doesn’t happen in all of them.

My client side code is:

$.ajax({
    type: "GET",
    url: SOME_URL,
    dataType: "jsonp",
    data: {...},
    success: function(data) {
        alert("This function is not always being called :( ");
    }
});

Any ideas\help will be greatly 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-20T05:50:02+00:00Added an answer on May 20, 2026 at 5:50 am

    You may receive a successful response from the server, but there may be some issues with the returned JSONP text. If there are any errors parsing the response, calling the callback function will fail.

    Also, I suggest using this alternative solution to jQuery’s implementation of JSONP which simplifies JSONP requests.

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

Sidebar

Related Questions

I am trying to use JQuery in my ASP.Net 2.0 website in this scenario:
I am trying to use jQuery's ajax functionality to update data from a web
I use jQuery, I need to make some anchor tags perform no action. I
I use jQuery to do AJAX calls. But specialchars like ÆØÅ (danish letter) comes
I use jquery post function to go to server and bring the link to
I use jquery pagination plugin , unfortunately it doesn't have method to set current
I'm trying to use jQuery to format code blocks, specifically to add a <pre>
I am planning to use jquery in Rails instead of prototype. I am not
I am begging to use jquery. I have the following call that works in
I'm wanting to use jQuery to wrap a mailto: anchor around an email address,

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.