[thelist] Re: DOM tips
Peter-Paul Koch
gassinaumasis at hotmail.com
Thu Feb 21 18:55:00 CST 2002
>tip type="DOM scripting for IE5/Macintosh" author="Ben Henick"
Interesting tips!
>I have seen an assertion by Steven Champeon that IE5/Mac returns null
>for the value of x.childNodes.length, but frankly have not encountered
>this problem.
No, me neither. I tried to imagine what could cause strange behaviour in
childNodes.length but couldn't think of anything.
>// Of similar interest is the fact that an element to which a class is
>// assigned, offsets its innerText when cloned by IE5/Mac. Therefore,
>// when using cloneNode(), you'll want to implement it as follows for
What do you mean by 'offsets its innerText'?
And I have a gut feeling that all problems you mention are related
somehow...
ppk
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
More information about the thelist
mailing list