Created
August 13, 2016 07:18
-
-
Save hasen/8f0f70d479863511cfd01fde2f099c68 to your computer and use it in GitHub Desktop.
選択されているチェックボックスの値をカンマ区切りで取得する.
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
var hoge_list = $("input[id^=hoge_checkbox_]:checked").map(function () { | |
return $(this).val(); | |
}).get().join(", "); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment