javascript - Getting info of live http request in application -
is there way in javascript fetch info http request in progress state now.
with jquery can use ajax events api
.ajaxsend() http://api.jquery.com/ajaxsend/
.ajaxcomplete() http://api.jquery.com/ajaxcomplete/
complete list of jquery ajax events: https://api.jquery.com/ajax_events/
example:
$(document).ajaxsend(function(){ alert('sending ajax request.'); })
Comments
Post a Comment