Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

NodeList map

const htmlButtons = document.querySelectorAll('button');
const htmlButtonsArray = [...htmlButtons];
htmlButtonsArray.map(button => button.disabled = true);
Source by www.loekvandenouweland.com #
 
PREVIOUS NEXT
Tagged: #NodeList #map
ADD COMMENT
Topic
Name
8+4 =