<html>
<body>
At 08:18 AM 2/1/2006, Paul Novitski wrote:<br>
<blockquote type=cite class=cite cite="">My personal experience with
modifying the DOM with innerHTML is that, while it lets me insert raw
HTML into the document, the DOM seems unaware of the elements implied by
the markup, so it's NOT a easy shortcut to creating &amp; appending child
nodes.&nbsp; I sometimes use it to delete markup but never to insert it
-- unless I don't need to read or manipulate the elements in the markup
I'm inserting.</blockquote><br><br>
At 09:05 AM 2/1/2006, Peter Brunone wrote:<br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>What
browsers/platforms demonstrate this DOM blindness?&nbsp; I've been using
innerHTML to build the rows in EasyListBox and I've never found the DOM
to be unaware of the elements I've added...</blockquote><br><br>
</font>Thanks, Peter.<br><br>
[I thought] I ran across this problem recently using Firefox (before I
upgraded to 1.5), seemed to recall it as a generic problem of innerHTML,
and headed off in another direction without bothering to save my code or
test it cross-browser.<br><br>
Basically, I inserted HTML markup into a div and found that the div's
firstChild and hasChildNodes came back null.&nbsp; I tried walking the
DOM using getElementsByTagName(&quot;*&quot;) and couldn't find the tags
I had just inserted, even though the inserted markup was rendered by the
browser just fine.<br><br>
In my Copious Spare Time I'll see if I can reproduce the problem and will
report back.&nbsp; Might just be incipient senility...<br><br>
Paul</body>
</html>