• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Using Core HTML Properties > The parentNode Property

The parentNode Property

The parentNode property returns the parent node of the present node. Unlike the parentElement property (see the previous topic), you can use this property with any W3C node, not just with elements. You can see the support for this property in Table 5.44.

Table 5.44. The parentNode Property
Property NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
parentNode    x    x x x
  Read-only
  Type: Node object



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint