parentElement and children is for IE
parentNode and childNodes is for all browsers you should use this one to make crossbrowser code
[url]http://blog.csdn.net/teresa502/archive/2009/12/08/4962282.aspx[/url]
parentNode and childNodes is for all browsers you should use this one to make crossbrowser code
[url]http://blog.csdn.net/teresa502/archive/2009/12/08/4962282.aspx[/url]