"JQuery UI 세그먼티드 버튼"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 10개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;jQuery UI buttonset
;jQuery UI radio buttonset
;jQuery UI 라디오 버튼, 버튼셋
;jQuery UI 라디오 버튼셋, 버튼세트
 
;jQuery UI 세그먼티드 버튼
==예시==
==예시==
<source lang='html5'>
<syntaxhighlight lang='html5'>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
18번째 줄: 19번째 줄:
     <input type="radio" id="radio3" name="radio"><label for="radio3">선택지 3</label>
     <input type="radio" id="radio3" name="radio"><label for="radio3">선택지 3</label>
</div>
</div>
</source>
</syntaxhighlight>
<jsfiddle>wzes8z2x</jsfiddle>
<jsfiddle>wzes8z2x</jsfiddle>


==같이 보기==
==같이 보기==
*[[부트스트랩 버튼그룹]]
*[[HTML 라디오 버튼]]
*[[세그먼티드 버튼]]
*[[세그먼티드 버튼]]


==참고 자료==
==참고==
*https://jqueryui.com/button/#radio
*https://jqueryui.com/button/#radio


[[분류: jQuery UI]]
[[분류: jQuery UI]]
[[분류: 버튼]]

2020년 11월 2일 (월) 02:53 기준 최신판

jQuery UI radio buttonset
jQuery UI 라디오 버튼셋, 버튼세트
jQuery UI 세그먼티드 버튼

1 예시[ | ]

<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script>
$(function() {
    $( "#radio" ).buttonset();
});
</script>

<div id="radio">
    <input type="radio" id="radio1" name="radio"><label for="radio1">선택지 1</label>
    <input type="radio" id="radio2" name="radio" checked><label for="radio2">선택지 2</label>
    <input type="radio" id="radio3" name="radio"><label for="radio3">선택지 3</label>
</div>

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}