You can use ajaxSuccess but go ahead and take advantage of the
settings object.  Something like:

$().ajaxSuccess(function(e, xhr, settings) {
    if (settings.myTag) return;
    // do your extra work and call ajax
    $.ajax({
        myTag: 1,
        url: blah.php,
        type: 'post'
    });
});



On 2/23/07, Nicolas Hoizey <[EMAIL PROTECTED]> wrote:
> In a page that gets modified by ajax calls, I would like to run my
> own function after each change.
>
> My function does ajax calls, so if I use the ajaxSuccess binding, it
> goes recursively and crash...
>
> Any idea?
>
>
> -Nicolas
>
> --
> Nicolas "Brush" HOIZEY
> Clever Age   : http://www.clever-age.com/
> Gastero Prod : http://www.gasteroprod.com/
> Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002
> phpHeaven    : http://www.phpheaven.net/
>
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to