[Javascript] How to destroy an element?

diego nunes dnunes at gmail.com
Fri Aug 18 14:29:41 CDT 2006


On 8/18/06, Matt Warden <mwarden at gmail.com> wrote:
> Have you done any work in determining if this causes a memory leak if
> tO has child nodes?
    Hmmm.. I've never tested that. Do you think it's a problem to
memory -- I mean, to remove elements that aren't empty? I don't know
if all that recursivity would be good to the execution speed. Probably
the browser, or the JS parser, would address the problem of memory --
or, at least, it should. Anyway, I've used that quite extensive and
never had any problem.

--
diego nunes
dnunes.com



More information about the Javascript mailing list