Using this test:
<html>
<body>
<xyz>
<form>
<input type="checkbox" onchange="alert(this);
alert(this.parentNode.previousSibling);">
</form>
</body>
</html>
The two alerts display:
[object HTMLInputElement]
[object HTMLUnknownElement]
How can I define the string to be displayed for <xyz>?
--
C.W.Holeman II | cw***@Julian5Locals.com -5 | http://JulianLocals.com/cwhii
To only a fraction of the human race does God give the privilege of
earning one's bread doing what one would have gladly pursued free, for
passion. I am very thankful. The Mythical Man-Month Epilogue/F.P.Brooks