Difference between revisions of "Widget:DCTList"
From LINKS Community Center
Line 305: | Line 305: | ||
const allFunctions = Array.from(document.querySelectorAll('#functions-filter input[type="checkbox"]')); | const allFunctions = Array.from(document.querySelectorAll('#functions-filter input[type="checkbox"]')); | ||
− | const selFun = allFunctions.filter(checkbox => checkbox.checked); | + | const selFun = allFunctions.filter(checkbox => checkbox.checked).map(checkbox => checkbox.value); |
console.log('ALL', allFunctions) | console.log('ALL', allFunctions) | ||
console.log('CHOSEN', selFun) | console.log('CHOSEN', selFun) |
Revision as of 16:50, 22 August 2022
Development verstion of the DCT List.
Not ready for production!