The only thing that I always forget is that nodeValue() only returns a value for text nodes. It's not like XSLT where the text value of an element is the text value of all contained text nodes. So, basically, this.nodeValue wouldn't have worked anyway. The DOM-compliant way of doing this.innerText (for an element with only one child node) would be this.childNodes.items(0).nodeValue. this.innerText is a lot neater.
-- Jeff
[EMAIL PROTECTED] wrote:
You DID put me on to one answer though... I can pass this.innerText, that works. I'd still like to know what the nodeValue was though, I've never seen that...
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]