Is there a way to delete a subset (continous) of child nodes?
- From: "Daniel Rucareanu" <drucarman.stuff@xxxxxxxxx>
- Date: 22 Sep 2006 00:28:47 -0700
Hello,
Does anybody knows how can you delete, in just one step, not using a
loop, a subset of the child nodes of a given DOM parent node? The
subset will be continous, so for example, if the parent node has 100
nodes, I want to delete nodes 10 through 75, and not nodes 5, 10, 25
etc.
I have a reference to the first and the last node in the list that has
to be removed. Also it's position in the list, if that helps.
Thank you,
Daniel
.
- Follow-Ups:
- Re: Is there a way to delete a subset (continous) of child nodes?
- From: Dave Methvin
- Re: Is there a way to delete a subset (continous) of child nodes?
- From: Walter Zackery
- Re: Is there a way to delete a subset (continous) of child nodes?
- From: Evertjan.
- Re: Is there a way to delete a subset (continous) of child nodes?
- Prev by Date: Re: JScript question
- Next by Date: Re: Is there a way to delete a subset (continous) of child nodes?
- Previous by thread: Re: Change content-type using DHTML?
- Next by thread: Re: Is there a way to delete a subset (continous) of child nodes?
- Index(es):
Relevant Pages
|