> 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'
> });
> });
The thing is that I have to run my function each time the element is
updated.
If I set myTag to 1 on first run, it will never run again.
Thanks for the hint anyway!
-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/