I am trying to retrieve a the class name of a parentnode.
In Firefox this works:
document.getEle mentById('foo') .parentNode.cla ssName
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.getEle mentById('foo') .parentNode.cla ssName
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.
Comment