You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. You are running a training exercise for junior developers. You are currently discussing a property associated with various Document Object Model (DOM) objects and methods. This property recovers the parent object in the document hierarchy. Which of the following is the property being discussed?

A. The nodeName property.
B. The nodeType property.
C. The parent property.
D. The parentNode property.
  Discussion forum

Question
0

Leave an answer