Shure no problem with the example but there is not much space left for
having a bug in the callback method:

<code>
/* request action incl. dom manipulation */

$("html").css({overflow: "-moz-scrollbars-vertical"}); /* prevent
flickering */

$("#invoicetable").empty()
$("#invoicetable").append('<div style="text-align:center; padding:
220px 0 0;">Daten werden geladen...<br /><img src="./site/images/
loadingAnimation.gif"><br /></div>');
$("#invoicetable").load("invoice-table.php",
        {v: v, kunde: kunde},
        function() {
                $("html").css({overflow: "auto"}); /* prevent flickering */
        }
);
</code>

so this is .empty(); .append() and .load() with a callback function
that is very short having one .css().

thanks so far,
mot


On 29 Mai, 17:25, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote:
> Can you provide an online example? The issue may be in your callback method.
>
> Cheers,
> -Jonathan
>
> On 5/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > I assume this is a memory leak:
>
> > $(#id).empty();
> > $(#id).load(url, params, callback)
>
> > increases more and more the memory usage of firefox even if the
> > content is replaced (in my case about 0.5mb per request). since the
> > dev mailinglist did not work for me I
> > post it in here.
>
> > any sugestions? is this problme related to .empty() or to .load()?
>
> > -- mot

Reply via email to