Last active
July 20, 2021 22:29
-
-
Save liuxd/d336b25638f8af574721a02c579e0d86 to your computer and use it in GitHub Desktop.
[Get checkbox values] #jQuery
This file contains hidden or 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
let PriceGroups = []; | |
$('input[name="price_group"]:checked').each(function(){ | |
PriceGroups.push($(this).val()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment