title: Can JQuery listen to AJAX calls from other javascript?
body: <p>I need to build a feature into a shopping cart that uses AJAX to retrieve an updated copy of the template from the server when something changes (e.g. a product is removed). I cannot modify the server side code, or the JavaScript that makes the shopping cart work in the first place. (Not ideal I know, but that's how it is)</p>
  
  <p>What I want to do is run my own JavaScript every time the cart updates. <strong>I want to know if it is possible to listen for AJAX calls</strong>, and run my code every time one is made.</p>