나는 일반 버튼처럼 보이지만 라디오처럼 작동하는 부트 스트랩 버튼을 사용하고 있습니다.jQuery - 버튼 그룹에서 활성화 된 버튼 얻기 (입력 유형 = "라디오")
<div class="btn-group-horizontal" data-toggle="buttons" id ="Group">
<label class="btn btn-sm btn-info btnSelect active">
<input type="radio" name="options" id="Option 1" autocomplete="off" checked> Option 1
</label>
<label class="btn btn-sm btn-info btnSelect">
<input type="radio" name="options" id="Option 2" autocomplete="off"> Option 2
</label>
</div>
활성 버튼의 ID/텍스트는 어떻게 얻을 수 있습니까?
감사합니다.
의 중복 가능성 [? 어떻게 jQuery를 통해 선택되는 라디오 얻을 수 있습니다 (http://stackoverflow.com/questions/596351/how-can-i-get - 라디오 - 선택된 - 통해 - jquery) –