getpreviousstructuredsibling_function1.htm ( 3,804 Bytes )
GetPreviousStructuredSibling() method traverses the sibling chain in the document object model (DOM) searching for the closest previous sibling that is a structured node (ie. not a text node; node of type 3). This is an important function for use in cross-browser scripting where different browsers may or may not acknowledge the existence of text nodes in between structured elements (that are not necessarily expected, such as text nodes between a close and open TR's in a table).
Added May 3, 2006 / Updated May 3, 2006