Hi Folks,
I'm doing some work for a quit huge website (that's maybe important for my question).
There is alot ajax stuff going on in different div elements (jQuery mixed with standard javascript).
I'm working within a new div element which does some ajax post requests to the server. My problem is,
it seems like I can't register .ajaxStart() to any element. It looks like this ajax event is not fired at all.
jQuery API reference snippet:
Description: Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
So in my case, there are some ajax requests on different places. Is that the reason why .ajaxStart is
not fired ? Because there might be some previous ajax calls?
How would I display some kind of a 'loader image' then? My current workround is to display a div
in .ajax() -> beforeSend().
ADDITION:
my .ajaxStart() event is fired after the page was completely loaded once. My problem only appears
while loading the page.