Yes.
Rey
Dmitrii 'Mamut' Dimandt wrote:
> Hmm.. Does it mean that this indicator only appears once per specified
> ajax request?
>
> Rey Bango wrote:
>> Hi Dmitrii,
>>
>> I actually ran into this same issue recently and basically took the
>> route of unbinding the ajaxstart event after the Aja
> Hm... Still doesn't sound like fun :) I wish there could be a way to do
> something like:
>
> $.load(
> $("myid"),
> url,
> params,
> {
> onStart: function(){someLoader.show();},
> onEnd: function(){someLoader.hide();}
> }
>
Mike Alsup wrote:
>> This is still like a proctologist performing an eye surgery
>>
>
> How so? You have control over everything in the settings object. And
> you can add any properties to it that you wish. So consider:
>
> $.ajax({
> url: myUrl,
> type: 'post',
> indicatorId: '
Stephen Woodbridge wrote:
> Dmitrii 'Mamut' Dimandt wrote:
>
>> Mike Alsup wrote:
>>
$.ajaxStart() is invoked for every ajax call that's made on the page.
However, for one ajax call I need to display a "loading..." in one
place, for another ajax call - a "loading..." i
Hmm.. Does it mean that this indicator only appears once per specified
ajax request?
Rey Bango wrote:
> Hi Dmitrii,
>
> I actually ran into this same issue recently and basically took the
> route of unbinding the ajaxstart event after the Ajax call was done.
> Here's my code:
>
> // This is the
Dmitrii 'Mamut' Dimandt wrote:
> Mike Alsup wrote:
>>> $.ajaxStart() is invoked for every ajax call that's made on the page.
>>>
>>> However, for one ajax call I need to display a "loading..." in one
>>> place, for another ajax call - a "loading..." in another place and for
>>> yet a third ajax c
Hi Dmitrii,
I actually ran into this same issue recently and basically took the
route of unbinding the ajaxstart event after the Ajax call was done.
Here's my code:
// This is the Ajax indicator
$('#throbberSearch')
.ajaxStart(function(){
$("searchResul
> This is still like a proctologist performing an eye surgery
How so? You have control over everything in the settings object. And
you can add any properties to it that you wish. So consider:
$.ajax({
url: myUrl,
type: 'post',
indicatorId: '#indicator3'
});
$().ajaxSend(function(e
> $.ajaxStart() is invoked for every ajax call that's made on the page.
>
> However, for one ajax call I need to display a "loading..." in one
> place, for another ajax call - a "loading..." in another place and for
> yet a third ajax call a "loading" in a third place.
>
> How can I do this in jQue
Mike Alsup wrote:
>> $.ajaxStart() is invoked for every ajax call that's made on the page.
>>
>> However, for one ajax call I need to display a "loading..." in one
>> place, for another ajax call - a "loading..." in another place and for
>> yet a third ajax call a "loading" in a third place.
>>
>>
You could always show the loading animation just before the ajax call and
hide it within the calls callback function:
$("#loading1").show();
$.get('handle.php',input,function(){
// Do stuff
$("#loading1").hide();
});
Not as pretty as $.ajaxStart(), but this is the only way I see to handle
multi
Ok. I'm at loss here.
$.ajaxStart() is invoked for every ajax call that's made on the page.
However, for one ajax call I need to display a "loading..." in one
place, for another ajax call - a "loading..." in another place and for
yet a third ajax call a "loading" in a third place.
How can I do t
12 matches
Mail list logo