Ajax / XMLHttpRequest tracking using javascript
问题 I know firebug can trace all the Ajax/XHR events on a page. But I need to prepare a tool which automatically tracks these calls on button clicks on an already existing webpage. My webpage's HTML and JS structure are follows: HTML: <a href="javascript:void(0)" id="callButton" class=" call-btn " style="width: 30px;">Call</a> JS: scope: this, id: 'callButton', handler: function () { Ext.Ajax.request({ url: '/Ajax/getCall/callUser/', params: { userID: usr.id }, Can anyone suggest how to track