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

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
sivakumar.y
Forum Newbie
Posts: 1
Joined: Mon Apr 05, 2010 9:15 am

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

Post by sivakumar.y »

hi friends i'm new to js so i need to know how to use parent tag while refer html tags
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

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

Post by kaszu »

Not "parent tag", but "parent node" or "parent element"

Code: Select all

node.parentNode
Post Reply