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?