I am having trouble resolving this issue. I know that everything in the DOM is node and that the DOM element is also node. However, my problem is this: I have a DOM node and a DOM element, and I need to compare them to see if they belong to the same element. Is it possible? I think that there is something fundamentally wrong with my question, but I canβt understand what it is. Thank you for your help.
javascript dom
ama2 Jun 23 '12 at 19:50 2012-06-23 19:50
source share