Question

I'm using the following for a long-polling request (this is a plugin similar to getJSON)...

$.jsonp({
  "url": url,
  "data": {
      "settings", settings
  },
  "success": function(userProfile) {
      // handle user profile here 
  },
  "error": function(d,msg) {
      alert("Could not find user "+userId);
  }
});

The request won't finish until either 30 seconds have passed or there is information to send (long-polling).

The problem is that Firefox is the only browser that will display "Waiting for URL..." at the bottom. Is there any way to prevent this?

Was it helpful?

Solution

You might want to check the version of the jsonp plugin, as this is a known and fixed bug

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top