javascript Node normalize( )

normalize( )NN 6 IE n/a DOM 2  

  

Collapses all sibling text nodes of the current (element) node into a single text node. Invoking this method may be needed after inserting or removing child nodes of an element, if your node walking (traversal) scripts expect contiguous text to be contained by a single text node. The W3C DOM considers a document tree to be normal only if a text node has no other text nodes as siblings.

 
Parameters

None.

 
Returned Value

None.


  • a..
    #1
    2011-10-19
    Reviewing ...
1333,Nickname,Homepage or email,Comments here,Add comment