get element by attribute name multiple queryselector code example
Example: queryselector multiple attributes
var ele = document.querySelector('class[attr=something][attr2=somtethingelse]');
var ele = document.querySelector('class[attr=something][attr2=somtethingelse]');