Hello gurus, I'm passing an XML file to the DOMParser and getting the Document back.
When I use Document.getElementById and pass an id value of an element that existed in the XML file, I get the element back ok. But if I create a new element (having an id) and add it to the existing Document (e.g., root.appendChild(e)), then when I do Document.getElementById to get back this new element, I get null instead. So, it seems like the DOM does not know about this new element just added. However, if I print the DOM tree, the element is there. Any ideas what's happening? Thanks, Nosa __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
