javascript select element with attribute
snippet in javascript

javascript select element with attribute

user6538

document.querySelectorAll('[attrname="value"]');