Last active
October 23, 2023 23:38
-
-
Save rileyrichter/de944499abe6dc5449d262d201776a1a to your computer and use it in GitHub Desktop.
Multi-step approach
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Do this | |
const checkBoxWrapper = document.querySelector(".sf_group-list"); | |
const regionCheckboxes = checkBoxWrapper.querySelectorAll('input[type="checkbox"]:checked'); | |
// or this | |
const regionCheckboxes = document.querySelectorAll('.sf_group-list input[type="checkbox"]:checked'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment