I''m using....
Ajax.Responders.register({
onCreate: function() {
if($(''spinner'') &&
Ajax.activeRequestCount> 0)
Effect.Appear(''spinner'',{duration:
0.25, queue:
''end''});
},
onComplete: function() {
if($(''spinner'') &&
Ajax.activeRequestCount == 0)
Effect.Fade(''spinner'',{duration: 0.25,
queue:
''end''});
}
});
How to know what is the activeRequests? I dont know how they are named
but there is a way to know the
requests that are not finished?
it''s because there are some requests that is not completing...
tks