Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

kimblim

Member since
kimblim

Recent Docs Activity

View all activity
Page Date Comment

Element.querySelectorAll()


"... whose parent is a div that contains the class ..." could mean that it contained another element with the class. The example shows it has to be the actual element that has the class, not a child element.