Untitled

 avatar
unknown
plain_text
a year ago
282 B
6
Indexable
var selectedIds = [];

var checkboxesDiv = document.getElementById("ProdutsCheckList");

var checkboxes = checkboxesDiv.querySelectorAll('input[type="checkbox"]');

checkboxes.forEach(function (checkbox) {
    if (checkbox.checked) {
        selectedIds.push(checkbox.id);
    }
});
Editor is loading...
Leave a Comment