I have a Javascript function in my .html file that uses jQuery.get method in itself. In the callback method 'success' of the AJAX request, there is a javascript alert() call.
function test_server(test_url) {
jQuery.get(test_url, function(data) {
alert("You have received '" + data + "'");
});
}
As long as I did not click 'OK' in the alert box, the request seems to be not finished in my Firebug console.
Is the request-response cycle really not finished or does the process of the server that has sent the response hang up until the user clicks 'OK'?
PS: I am using Firefox 11.0 and Firebug 1.9.1
I think that's a sort of a bug of Firebug because the request has to be finished at this point.
(In Chrome it doesn't happen)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.