Ajaxstop() having problems in IE?

View: New views
18 Messages — Rating Filter:   Alert me  

Ajaxstop() having problems in IE?

by tomás pollak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've normally had no problems hiding the spinner/loading on IE for
ajax calls. However, this time I just can't get it to work, it throws
me a " 'null' is null or not an object" error when all AJAX calls have
finished. Ajaxstart(), hovever, has no issues. I've tried everything,
even checking if it is a IE CSS/render problem ("position: fixed" and
sorts).

Does anyone have a clue as to what can be the problem? I'm using
JQuery 1.0.3 compressed, and the fader has no issues on Firefox.

Regards,
Tomas

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

Re: Ajaxstop() having problems in IE?

by Mike Chabot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This function broke in one of the 1.0.2 revisions and is still broken
in 1.0.3. I am using an older version of jQuery where this function
still works.

-Mike Chabot

On 11/20/06, tomás pollak <tomaspollak@...> wrote:

> Hello,
>
> I've normally had no problems hiding the spinner/loading on IE for
> ajax calls. However, this time I just can't get it to work, it throws
> me a " 'null' is null or not an object" error when all AJAX calls have
> finished. Ajaxstart(), hovever, has no issues. I've tried everything,
> even checking if it is a IE CSS/render problem ("position: fixed" and
> sorts).
>
> Does anyone have a clue as to what can be the problem? I'm using
> JQuery 1.0.3 compressed, and the fader has no issues on Firefox.
>
> Regards,
> Tomas
>
> _______________________________________________
> jQuery mailing list
> discuss@...
> http://jquery.com/discuss/
>

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

Parent Message unknown Re: Ajaxstop() having problems in IE?

by tomás pollak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for pointing it out Mike. Weird I couldn't find anything
related in the bug list.

> This function broke in one of the 1.0.2 revisions and is still broken
> in 1.0.3. I am using an older version of jQuery where this function
> still works.
>
> -Mike Chabot

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

Re: Ajaxstop() having problems in IE?

by Mike Chabot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For some reason it was crossed off the bug list and was announced as
being fixed when 1.0.3 came out, even though it wasn't fixed. In one
of the builds right before the final 1.0.3 build, it was actually
fixed.

-Mike Chabot

On 11/22/06, tomás pollak <tomaspollak@...> wrote:

> Thanks for pointing it out Mike. Weird I couldn't find anything
> related in the bug list.
>
> > This function broke in one of the 1.0.2 revisions and is still broken
> > in 1.0.3. I am using an older version of jQuery where this function
> > still works.
> >
> > -Mike Chabot
>
> _______________________________________________
> jQuery mailing list
> discuss@...
> http://jquery.com/discuss/
>

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

Re: Ajaxstop() having problems in IE?

by Jörn Zaefferer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tomás pollak schrieb:

> Hello,
>
> I've normally had no problems hiding the spinner/loading on IE for
> ajax calls. However, this time I just can't get it to work, it throws
> me a " 'null' is null or not an object" error when all AJAX calls have
> finished. Ajaxstart(), hovever, has no issues. I've tried everything,
> even checking if it is a IE CSS/render problem ("position: fixed" and
> sorts).
>
> Does anyone have a clue as to what can be the problem? I'm using
> JQuery 1.0.3 compressed, and the fader has no issues on Firefox.
>  
Could you put together a simple page that demonstrates the problem? That
would be a great help to fix this bug, for real this time.

--
Jörn Zaefferer

http://bassistance.de


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

Re: Ajaxstop() having problems in IE?

by Guntur N. Sarwohadi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Im also experiencing the same problem.. here is a dummy page for a demo of the bug. I think you'll need MS Script Debugger to have the " 'null' is null or not an object" error show, though..

cheers
Guntur N. Sarwohadi

On 11/23/06, Jörn Zaefferer <Enchos@...> wrote:
tomás pollak schrieb:

> Hello,
>
> I've normally had no problems hiding the spinner/loading on IE for
> ajax calls. However, this time I just can't get it to work, it throws
> me a " 'null' is null or not an object" error when all AJAX calls have
> finished. Ajaxstart(), hovever, has no issues. I've tried everything,
> even checking if it is a IE CSS/render problem ("position: fixed" and
> sorts).
>
> Does anyone have a clue as to what can be the problem? I'm using
> JQuery 1.0.3 compressed, and the fader has no issues on Firefox.
>
Could you put together a simple page that demonstrates the problem? That
would be a great help to fix this bug, for real this time.

--
Jörn Zaefferer

http://bassistance.de


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



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

testAjaxStop.zip (14K) Download Attachment

Re: Ajaxstop() having problems in IE?

by Guntur N. Sarwohadi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Oh, btw.. and i notice that both files (htm and php) needs to be accessed through a webserver to make that particular error show. I tried accessing the htm as a file in a browser and although it doesn't spit out the error, it just wont work (a 'silent' error :p)

cheers,
Guntur N. Sarwohadi

On 11/23/06, Guntur N. Sarwohadi <gsarwohadi@...> wrote:
Im also experiencing the same problem.. here is a dummy page for a demo of the bug. I think you'll need MS Script Debugger to have the " 'null' is null or not an object" error show, though..

cheers
Guntur N. Sarwohadi


On 11/23/06, Jörn Zaefferer <Enchos@...> wrote:
tomás pollak schrieb:

> Hello,
>
> I've normally had no problems hiding the spinner/loading on IE for
> ajax calls. However, this time I just can't get it to work, it throws
> me a " 'null' is null or not an object" error when all AJAX calls have
> finished. Ajaxstart(), hovever, has no issues. I've tried everything,
> even checking if it is a IE CSS/render problem ("position: fixed" and
> sorts).
>
> Does anyone have a clue as to what can be the problem? I'm using
> JQuery 1.0.3 compressed, and the fader has no issues on Firefox.
>
Could you put together a simple page that demonstrates the problem? That
would be a great help to fix this bug, for real this time.

--
Jörn Zaefferer

http://bassistance.de


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




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

Re: Ajaxstop() having problems in IE?

by Jörn Zaefferer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Guntur N. Sarwohadi schrieb:
> Oh, btw.. and i notice that both files (htm and php) needs to be
> accessed through a webserver to make that particular error show. I
> tried accessing the htm as a file in a browser and although it doesn't
> spit out the error, it just wont work (a 'silent' error :p)
Ok, thanks. Your code is pretty weird, but nonetheless, it shows the
problem pretty clearly. If you find anything else that may help, just
tell me.

--
Jörn Zaefferer

http://bassistance.de


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

Re: Ajaxstop() having problems in IE?

by Guntur N. Sarwohadi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm.. weird as..? please let me know, i might learn something from you, especially i'm particularly new to js and jquery :)

thanks!

On 11/24/06, Jörn Zaefferer <Enchos@...> wrote:
Guntur N. Sarwohadi schrieb:
> Oh, btw.. and i notice that both files (htm and php) needs to be
> accessed through a webserver to make that particular error show. I
> tried accessing the htm as a file in a browser and although it doesn't
> spit out the error, it just wont work (a 'silent' error :p)
Ok, thanks. Your code is pretty weird, but nonetheless, it shows the
problem pretty clearly. If you find anything else that may help, just
tell me.

--
Jörn Zaefferer

http://bassistance.de


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


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

Re: Ajaxstop() having problems in IE?

by Jörn Zaefferer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/

Re: Ajaxstop() having problems in IE?

by Guntur N. Sarwohadi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/

Re: Ajaxstop() having problems in IE?

by Jörn Zaefferer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Guntur N. Sarwohadi schrieb:
> 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>..
Sort of. You can and should use both, bot just not use success to add
the ajaxStop.

I added this bug to the tracker: http://jquery.com/dev/bugs/bug/435/
Please post anything you may find there.

--
Jörn Zaefferer

http://bassistance.de


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

Re: Ajaxstop() having problems in IE?

by Jörn Zaefferer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jörn Zaefferer schrieb:

> Guntur N. Sarwohadi schrieb:
>  
>> 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>..
>>    
> Sort of. You can and should use both, bot just not use success to add
> the ajaxStop.
>
> I added this bug to the tracker: http://jquery.com/dev/bugs/bug/435/
> Please post anything you may find there.
>  
Just checked again with the latest revision, the problem is fixed.
Please update to the latest revision from SVN (or wait for 1.0.4).

--
Jörn Zaefferer

http://bassistance.de


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

Re: Ajaxstop() having problems in IE?

by Mike Chabot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How do I update to the latest version using SVN? When I try
TortoiseSVN, it prompts me for a username and password.

Thank you,
Mike Chabot

On 11/25/06, Jörn Zaefferer <Enchos@...> wrote:

> Jörn Zaefferer schrieb:
> > Guntur N. Sarwohadi schrieb:
> >
> >> 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>..
> >>
> > Sort of. You can and should use both, bot just not use success to add
> > the ajaxStop.
> >
> > I added this bug to the tracker: http://jquery.com/dev/bugs/bug/435/
> > Please post anything you may find there.
> >
> Just checked again with the latest revision, the problem is fixed.
> Please update to the latest revision from SVN (or wait for 1.0.4).
>
> --
> Jörn Zaefferer
>
> http://bassistance.de
>
>
> _______________________________________________
> jQuery mailing list
> discuss@...
> http://jquery.com/discuss/
>

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

Re: Ajaxstop() having problems in IE?

by vitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike Chabot wrote:
> How do I update to the latest version using SVN? When I try
> TortoiseSVN, it prompts me for a username and password.
>
> Thank you,
> Mike Chabot

It checks out fine for me without from svn://jquery.com/trunk - is that
where you are grabbing it from?

Hope this helps,

Kelvin :)

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

Re: Ajaxstop() having problems in IE?

by Mike Chabot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes. I tried that path as well as svn://jquery/. I am not sure what to
put in the username and password fields that pop up in TortoiseSVN.

-Mike

On 12/5/06, Kelvin Luck <kelvin@...> wrote:

> Mike Chabot wrote:
> > How do I update to the latest version using SVN? When I try
> > TortoiseSVN, it prompts me for a username and password.
> >
> > Thank you,
> > Mike Chabot
>
> It checks out fine for me without from svn://jquery.com/trunk - is that
> where you are grabbing it from?
>
> Hope this helps,
>
> Kelvin :)
>
> _______________________________________________
> jQuery mailing list
> discuss@...
> http://jquery.com/discuss/
>

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

Re: Ajaxstop() having problems in IE?

by Jörn Zaefferer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike Chabot schrieb:
> Yes. I tried that path as well as svn://jquery/. I am not sure what to
> put in the username and password fields that pop up in TortoiseSVN.
>  
Did you try to simply enter something? Or anything?

I can recommend to use Eclipse with Subclipse or Subversive: Both great
SVN provider plugins.

If you still can't get it working, try these latest builds:
http://joern.jquery.com/dist/jquery.js
http://joern.jquery.com/dist/jquery.pack.js

--
Jörn Zaefferer

http://bassistance.de


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

Re: Ajaxstop() having problems in IE?

by Mike Chabot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just to follow-up on this thread, my testing shows that the problems
with AjaxStart and AjaxStop are resolved in jQuery 1.0.4. The Ajax
calls also now work in Firefox 1.0.x, which was not the case with the
previous jQuery library that I was using.

Thank you,
Mike Chabot

On 12/5/06, Jörn Zaefferer <Enchos@...> wrote:

> Mike Chabot schrieb:
> > Yes. I tried that path as well as svn://jquery/. I am not sure what to
> > put in the username and password fields that pop up in TortoiseSVN.
> >
> Did you try to simply enter something? Or anything?
>
> I can recommend to use Eclipse with Subclipse or Subversive: Both great
> SVN provider plugins.
>
> If you still can't get it working, try these latest builds:
> http://joern.jquery.com/dist/jquery.js
> http://joern.jquery.com/dist/jquery.pack.js
>
> --
> Jörn Zaefferer
>
> http://bassistance.de
>
>
> _______________________________________________
> jQuery mailing list
> discuss@...
> http://jquery.com/discuss/
>

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