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

The removeChild Method

You use the removeChild method to remove a child node from an object. Just pass the node you want to remove (which you can get from the childNodes collection); this method will remove the node and return it. You can see the support for this method in Table 6.39.

Table 6.39. The removeChild Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
removeChild(node)    x    x x x
  Returns: Node object



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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