queryselectorall not getting all elements dom code example
Example 1: js queryselectorall
var container = document.querySelector("#test");
var matches = container.querySelectorAll("div.highlighted > p");
Example 2: queryselectorall
queryselectorall
Example 3: js queryselectorall
var matches = document.querySelectorAll("div.note, div.alert");