Untitled
unknown
plain_text
2 years ago
282 B
9
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