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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:06:47+00:00 2026-05-25T15:06:47+00:00

I am using qtip2 and they seem to use the jQuery ajax. In IE8

  • 0

I am using qtip2 and they seem to use the jQuery ajax.

In IE8 I have no problems. I get the error and the complete

In Fx 6+ I never get the error.

To reproduce:

  1. go to http://plungjan.name/eclatooltip/
  2. turn on firebug Net or other http sniffer
  3. Mouse over the 2nd IPC in the 2nd result – B65D30/08

Result:

  • IE: message: “Nothing found”
  • Fx: never returns, never executes the error or complete

I have seen this https://gist.github.com/82181

but do not see how to use it in my code.


Code used (eclatt.js)

    ajax: {
      dataType: 'jsonp',
      url: url,
      once: false,
      complete: function(jqXHR, textStatus) { // works perfectly in IE
        // alert("complete:"+jqXHR+":"+ textStatus)
      },
      error: function() { // works perfectly in IE8
        alert('Error')
        this.set('content.text', "Nothing found");
      },
      success: function(oData, sTextStatus, oJqXhr) {
        /* Construct list */

        ... 

        this.set('content.text', sHtml);
      }
    },
  • 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-25T15:06:48+00:00Added an answer on May 25, 2026 at 3:06 pm

    Apparently the problem is, that JSONP calls are handled by appending <script> tag to the DOM, and network related errors (like 404) doesn’t trigger the handlers (at least it shouldn’t, I guess the IE is trying to be smarter than it really is).

    Quote from the jQuery.ajax error handler description:

    Note: This handler is not called for cross-domain script and JSONP requests.

    To overcome this issue, there are plugins out there like this one jquery-jsonp that are checking whenever the source of the appended script tag has loaded and are firing appropriate callbacks if not.

    Update

    Here’s there source for the ajax plugin for qtip2 https://github.com/Craga89/qTip2/blob/master/src/ajax/ajax.js. You can most probably can replace the

    // Error handler
    function errorHandler(xh, status, error){ api.set('content.text', status + ': ' + error); }
    // Setup $.ajax option object and process the request
    $.ajax( $.extend({ success: successHandler, error: errorHandler, context: api }, opts, { url: url, complete: after }) );
    

    With this:

    if (opts.dataType && opts.dataType.toLowerCase() == 'jsonp') {
        // Error handler
        function jsonpErrorHandler(xOptions, status) {api.set('content.text', 'error: ' + status);}
        // Setup using jsonp
        $.jsonp( $.extend({ success: successHandler, error: jsonpErrorHandler, context: api }, opts, { url: url, complete: after }) );
    } else {
        // Error handler
        function errorHandler(xh, status, error){ api.set('content.text', status + ': ' + error); }
        // Setup $.ajax option object and process the request
        $.ajax( $.extend({ success: successHandler, error: errorHandler, context: api }, opts, { url: url, complete: after }) );
    }
    

    It should work provided you have embedded the jquery-jsonp plugin.

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

Sidebar

Related Questions

I can't seem to get qTip2 to work with Cake. I'm using the following
I am using qTip2 on my website but have some problems with the css.
I am using Qtip jquery plugin for my tooltips and because I have many
Im using http://mbielanczuk.com/jquery-gantt/ plugin Is anyone there have an idea how to change the
So I'm using ExtJS 4.1. I have a viewport that contains two items. They
I'm using jQuery qTip2 for tooltips in my Rails app. I want the tooltip
I'm using the jQuery Validation plugin along with the qTip2 plugin to display the
I'm using jQuery and qTip2 to make Geo information on an image map visible.
I want to use the jQuery based tooltip, qTip2 to provide a code snippet
This is bizarre - I'm using jQuery qTip , and 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.