queryselectorall button code example
Example 1: js queryselectorall
var container = document.querySelector("#test");
var matches = container.querySelectorAll("div.highlighted > p");
Example 2: document.queryselectorall extract all href element
[].forEach.call( document.querySelectorAll('img.PinImageImg'),
function fn(elem){
console.log(elem.src);
});
Example 3: select all elements javascript
var elements = document.getElementsByTagName("*");
Example 4: js queryselectorall
elementList = parentNode.querySelectorAll(selectors);