Topic awaiting preservation: Help with parent and children (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Maryland, USA |
posted 01-27-2003 14:29
Say I was trying to get the a parent of a <span> tag, which is a TR tag. However, this span is in a TD tag. How do I get the parent of the TD tag from the span tag? |
Bipolar (III) Inmate From: Berlin (almost) |
posted 01-27-2003 14:46
Errrrm... I'm not so sure if I really understood what you are trying to do, but if you had something like this: |
Paranoid (IV) Inmate From: Maryland, USA |
posted 01-27-2003 15:11
instead of just "parent" it is "parentNode"? Just clarifying, because I got it to work. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 01-27-2003 15:11
Kuckus is right. Now, let's say that you had the span element: |