반응형

 

<div data-foo="value">
</div>
list = document.querySelectorAll('[data-foo="value"]');
for(let i=0; i < list.length; i++){
	element = list[i]
}

 

반응형

+ Recent posts