« Return to Thread: Ajaxstop() having problems in IE?

Re: Ajaxstop() having problems in IE?

by Guntur N. Sarwohadi :: Rate this Message:

Reply to Author | View in Thread

Oh.. ok ok.. i understand your point. so i think it's also best to just use either the success parameter in $.ajax or the ajax listeners (ajaxStop, ajaxStart, etc) and not both? In a way, i realize it's also redundant to add the success parameter just to call ajax<Listener>..

thanks!

On 11/24/06, Jörn Zaefferer <Enchos@...> wrote:
Guntur N. Sarwohadi schrieb:
> Hmm.. weird as..? please let me know, i might learn something from
> you, especially i'm particularly new to js and jquery :)
You should add any ajax handlers before calling $.ajax, not inside of
the success callback. You code worked because the ajaxStop event is
triggered after the success callback, but you shouldn't rely on that.
I'll upload my modified version, if that helps.

--
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
discuss@...
http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
discuss@...
http://jquery.com/discuss/

 « Return to Thread: Ajaxstop() having problems in IE?