jQuery Mobile‎ > ‎입력 폼‎ > ‎

라디오 버튼


기본적으로는 세로로 표시되며, 가로로 표시하려면 <fieldset>data-type="horizontal"을 추가하면 된다.

<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<legend>
뭔 소린지 아시겠어요?:</legend>
<input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" checked="checked" />
<label for="radio-choice-1">
</label>
<input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2" />
<label for="radio-choice-2">
아니요</label>
<input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3" />
<label for="radio-choice-3">
잘 모르겠는데요</label>
<input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4" />
<label for="radio-choice-4">
확실히 모르겠는데요</label>
</fieldset>
</div>


하위 페이지 (1): 라디오 버튼과 관련된 속성
Comments