The removeChild Method


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



Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net