Pretty newbie question, I know: I have an array of items with toggles that are displayed on the page and once I click a button I want to make an array of those toggled items - so I can use them to run another function.
I can get the checked value without issue, but how do I properly iterate through the array ( without using something like index and array length, which seems a bit archaic here )?