Ashura: firstChild.nextSibling im IE

Beitrag lesen

Hallo Martin.

if(document.getElementById(id).firstChild.nextSibling != null)

IMHO reicht das hier:

if(document.getElementById(id).firstChild.nextSibling)

Gruß, Ashura

--
Selfcode: sh:( fo:) ch:? rl:( br:^ n4:& ie:{ mo:) va:) de:> zu:) fl:( ss:| ls:[ js:|
30 Days to becoming an Opera8 Lover -- Day 15: Mouse Gestures
Meine Browser: Opera 8.0 | Firefox 1.0.4 | Lynx 2.8.3 | Netscape 4.7 | IE 6.0
IE Layout-Workaround №1: <!--[if IE]><style type="text/css">*{display:none;}</style><![endif]-->