document queryselector all code example
Example 1: js queryselector names
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');
Example 2: js queryselector find without attribute
var test = document.querySelectorAll('input[value][type="checkbox"]:not([value=""])');
Example 3: queryselector
document.querySelector(".example");