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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -