title: jQuery ajaxsetup not working
body: <p>I need a 'loading' icon that displays during an Ajax call.  I'm trying this:  <a href="https://stackoverflow.com/questions/68485/how-to-show-loading-spinner-in-jquery/2387709#2387709">How to show loading spinner in jQuery?</a></p>
  
  <p>It fails to work.  I am not making Ajax calls <em>directly</em> in my code, this is a large app with lots of abstraction and wrappers, so typically I am calling functions that call functions that call $.ajax(), and that call already has beforeSend and success attributes set -- that function is used dozens of times throughout our code and I prefer not to modify it.   </p>
  
  <p>Is ajaxSetup() not designed to work in such a situation?  If so, then under what circumstances is it supposed to work?  Thanks.</p>