The swapNode Method


The swapNode Method

The swapNode method enables you to swap two nodes. You can see the support for this method in Table 6.52.

Table 6.52. The swapNode Method

Method

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

swapNode( node )

             

x

x

x

 

Returns: Node object

Here's how you would swap two nodes, node1 and node2 :

 node1.swapNode(node2) 


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