• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Replacing a Child Node

If you want to replace an existing child node with some other node, use the replaceChild() method:

						Parent_Node.replaceChild(New_Node, Old_Node)
					


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint