queryselectorall id code example
Example 1: js queryselector find without attribute
var test = document.querySelectorAll('input[value][type="checkbox"]:not([value=""])');
Example 2: js select element inside of div
var targetDiv = document.getElementById("foo").getElementsByClassName("bar")[0];
Example 3: javascript querySelectorAll id ends with
console.log(document.querySelectorAll("[id$=foo]"));