This page documents a surprisingly simple way to implement global .ajaxStart and .ajaxStop . But, as one comment notes, the drawback is that it relies on a modal window supposedly placed on the absolute x / y on the page.
I want to extend the answer provided there by adding a div loader to the fact that the div is the source of my Ajax call. I don't want _processing the HTML of my current div - and I don't want to add HTML to it - I want to merge this loader div into my current div.
I took a couple of runs with '.append' and '.html', but it’s not clear to me how to do this to create this effect, especially considering the link to Update: As of jQuery 1.8,
thank
source
share