tag:blogger.com,1999:blog-6761142148052793737.post2156722191499888710..comments2024-03-15T19:08:23.925+07:00Comments on Web Development: childNodes property of DOM objectchamnaphttp://www.blogger.com/profile/14793779616523810175noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6761142148052793737.post-707093160826754592010-10-15T12:53:58.296+07:002010-10-15T12:53:58.296+07:00what an exciting experience!/Hilorious! Delightful...what an exciting experience!/Hilorious! Delightful! True!<br /><a href="http://propertydevelopmentsites.com.au" rel="nofollow">Property Development</a>Thiruppathy Rajahttps://www.blogger.com/profile/12628133449123139122noreply@blogger.comtag:blogger.com,1999:blog-6761142148052793737.post-23433227265711888952008-06-20T13:27:00.000+07:002008-06-20T13:27:00.000+07:00No, I think you just go straight to the point. Any...No, I think you just go straight to the point. Anyway, thanks for your comments/ Cheers!chamnaphttps://www.blogger.com/profile/14793779616523810175noreply@blogger.comtag:blogger.com,1999:blog-6761142148052793737.post-60296956284902517322008-06-20T12:33:00.000+07:002008-06-20T12:33:00.000+07:00I just re-read my comment and realized how pretent...I just re-read my comment and realized how pretentious it sounded. It was just an attempt to make it a step-by-step argument. Sorry! <BR/><BR/>I'm happy you agree. Cheers!Marcus Westinhttps://www.blogger.com/profile/17464221112785078078noreply@blogger.comtag:blogger.com,1999:blog-6761142148052793737.post-66629866392760239942008-06-20T09:48:00.000+07:002008-06-20T09:48:00.000+07:00Thanks. I agree with your idea. It was shocked me ...Thanks. I agree with your idea. It was shocked me when I were coding.chamnaphttps://www.blogger.com/profile/14793779616523810175noreply@blogger.comtag:blogger.com,1999:blog-6761142148052793737.post-9285016271936663142008-06-18T03:03:00.000+07:002008-06-18T03:03:00.000+07:00Correct me if I'm wrong, but this makes sense to m...Correct me if I'm wrong, but this makes sense to me because:<BR/><BR/>A DOM element should be a child of exactly one parent node, or else you could potentially create a cyclical graph structure (seemingly not a good idea for the tree dom model).<BR/><BR/>Thus, appending an element to a new parent node should indeed remove it from any other parent node.<BR/><BR/>Thus, as you append div1 and div2 to the body element, your DOM tree correctly removes it from the parentDiv.<BR/><BR/>Please let me know what you think! Cheers.Marcus Westinhttps://www.blogger.com/profile/17464221112785078078noreply@blogger.com