Closed Bug 1410817 Opened 7 years ago Closed 7 years ago

"textContent" used in code snippets instead of "innerHTML"

Categories

(Developer Documentation Graveyard :: Learning Area, enhancement, P5)

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mescalitoster, Unassigned)

References

()

Details

:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: 56 Branch
 Technical Contact: 

:: Details

In code snippets of "Adding a personalized welcome message" example, non-existent "textContent" property is used instead of "innerHTML". So, example generates an exception an doesn't work as intended.
textContent property exists
https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.