T
tgh003
I am trying to retrieve a the class name of a parentnode.
In Firefox this works:
document.getElementById('foo').parentNode.className
returns the class name of the parent element. In IE it doesnt work.
What is the correct syntax for IE?
Any help is much appreciated.
Thx.
In Firefox this works:
document.getElementById('foo').parentNode.className
returns the class name of the parent element. In IE it doesnt work.
What is the correct syntax for IE?
Any help is much appreciated.
Thx.