Page 1 of 1

i want to know the use of parenttag and how to use that..

Posted: Mon Apr 05, 2010 9:20 am
by sivakumar.y
hi friends i'm new to js so i need to know how to use parent tag while refer html tags

Re: i want to know the use of parenttag and how to use that.

Posted: Tue Apr 06, 2010 12:41 pm
by kaszu
Not "parent tag", but "parent node" or "parent element"

Code: Select all

node.parentNode