Deleting child elements

Results 1 to 2 of 2

Thread: Deleting child elements

  1. #1
    Join Date
    Dec 1969

    Default Deleting child elements

    Hello,<BR><BR>If I use Javascript to add a row to a table and I also add some text fields to that row, if I then call &#039;removeChild&#039; on the row, do the text fields get deleted automatically or will I have created a resource leak?<BR><BR>Do the child elements of an element that is being removed need to be explicitly removed themselves?<BR><BR>Cheers,<BR><BR>Ian.

  2. #2
    Join Date
    Dec 1969

    Default I've always just worried..

    .. about deleting the parent.<BR><BR>I&#039;ve never specifically deleted the children of the row.<BR><BR>So far, I haven&#039;t had any issues.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts