在应用程序中获取实时HTTP请求的信息
答
使用jQuery你可以使用阿贾克斯事件API
.ajaxSend()http://api.jquery.com/ajaxsend/
.ajaxComplete()http://api.jquery.com/ajaxcomplete/
完整的jQuery的列表Ajax事件:https://api.jquery.com/Ajax_Events/
实施例:
$(document).ajaxSend(function(){
alert('Sending an Ajax request.');
})