You work as a senior developer at The network consists of a single domain named 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


Leave an answer