- 정보공유
[JQUERY] 비동기식으로 초성 버튼 클릭 보여주기
<ul class="btn-group-list">
<li><input type="button" value="전체" onclick="filterByChosung('all');"></li>
<li><input type="button" value="ㄱ" onclick="filterByChosung('ㄱ');"></li>
<li><input type="button" value="ㄴ" onclick="filterByChosung('ㄴ');"></li>
<li><input type="button" value="ㄷ" onclick="filterByChosung('ㄷ');"></li>
<li><input type="button" value="ㄹ" onclick="filterByChosung('ㄹ');"></li>
<li><input type="button" value="ㅁ" onclick="filterByChosung('ㅁ');"></li>
<li><input type="button" value="ㅂ" onclick="filterByChosung('ㅂ');"></li>
<li><input type="button" value="ㅅ" onclick="filterByChosung('ㅅ');"></li>
<li><input type="button" value="ㅇ" onclick="filterByChosung('ㅇ');"></li>
<li><input type="button" value="ㅈ" onclick="filterByChosung('ㅈ');"></li>
<li><input type="button" value="ㅊ" onclick="filterByChosung('ㅊ');"></li>
<li><input type="button" value="ㅋ" onclick="filterByChosung('ㅋ');"></li>
<li><input type="button" value="ㅌ" onclick="filterByChosung('ㅌ');"></li>
<li><input type="button" value="ㅍ" onclick="filterByChosung('ㅍ');"></li>
<li><input type="button" value="ㅎ" onclick="filterByChosung('ㅎ');"></li>
</ul>
<div id="wrap-group-list">
<span data-word="국민은행"><input type="checkbox" name="vg_ix[]" value="81" id="vg_ix_0"><label for="vg_ix_0"> 국민은행</label></span>
<span data-word="하나은행"><input type="checkbox" name="vg_ix[]" value="82" id="vg_ix_1"><label for="vg_ix_1"> 하나은행</label></span>
<span data-word="카카오뱅크"><input type="checkbox" name="vg_ix[]" value="84" id="vg_ix_2"><label for="vg_ix_2"> 카카오뱅크</label></span>
</div>