|
|
|
11-11-16
|
조회 3,535
|
|
|
|
11-11-15
|
조회 2,654
|
|
|
|
11-11-15
|
조회 3,291
|
|
|
관리자
|
11-11-15
|
조회 2,740
|
|
|
|
11-11-14
|
조회 2,841
|
|
|
관리자
|
11-11-14
|
조회 3,783
|
|
|
|
11-11-14
|
조회 3,581
|
|
|
|
11-11-14
|
조회 4,273
|
|
|
|
11-11-14
|
조회 2,871
|
|
|
|
11-11-14
|
조회 2,766
|
|
|
|
11-11-13
|
조회 4,060
|
|
|
|
11-11-12
|
조회 2,699
|
|
|
|
11-11-12
|
조회 2,827
|
|
|
관리자
|
11-11-12
|
조회 4,052
|
|
|
|
11-11-11
|
조회 2,954
|
|
|
|
11-11-11
|
조회 2,903
|
|
|
|
11-11-11
|
조회 2,571
|
|
|
|
11-11-11
|
조회 2,894
|
|
|
선택이란
|
11-11-11
|
조회 4,034
|
|
|
|
11-11-11
|
조회 2,500
|
|
|
|
11-11-11
|
조회 4,746
|
|
|
|
11-11-11
|
조회 2,771
|
|
|
|
11-11-11
|
조회 2,584
|
|
|
|
11-11-11
|
조회 2,453
|
|
|
|
11-11-11
|
조회 2,873
|
|
|
|
11-11-11
|
조회 2,647
|
|
|
|
11-11-11
|
조회 2,639
|
|
|
|
11-11-10
|
조회 3,094
|
|
|
|
11-11-10
|
조회 2,557
|
|
|
|
11-11-10
|
조회 3,189
|
|
|
|
11-11-10
|
조회 3,752
|
|
|
|
11-11-10
|
조회 2,444
|
|
|
|
11-11-10
|
조회 2,575
|
|
|
|
11-11-10
|
조회 2,409
|
|
|
|
11-11-09
|
조회 2,619
|
|
|
|
11-11-09
|
조회 3,337
|
|
|
|
11-11-09
|
조회 2,811
|
|
|
카이루
|
11-11-09
|
조회 2,951
|
|
|
|
11-11-08
|
조회 2,709
|
|
|
관리자
|
11-11-08
|
조회 3,042
|
|
|
|
11-11-08
|
조회 2,371
|
|
|
|
11-11-08
|
조회 3,326
|
|
|
|
11-11-08
|
조회 2,614
|
|
|
|
11-11-08
|
조회 3,385
|
|
|
|
11-11-06
|
조회 1만
|
|
|
|
11-11-06
|
조회 2,685
|
|
|
|
11-11-06
|
조회 3,686
|
|
|
|
11-11-06
|
조회 3,491
|
|
|
|
11-11-06
|
조회 3,793
|
|
|
|
11-11-06
|
조회 3,975
|
|
|
|
11-11-05
|
조회 2,509
|
|
|
|
11-11-05
|
조회 2,685
|
|
|
복스리
|
11-11-04
|
조회 8,585
|
|
|
|
11-11-04
|
조회 2,635
|
|
|
|
11-11-04
|
조회 2,687
|
|
|
|
11-11-04
|
조회 3,696
|
|
|
|
11-11-04
|
조회 2,585
|
|
|
|
11-11-04
|
조회 2,762
|
|
|
복스리
|
11-11-03
|
조회 4,033
|
|
|
|
11-11-03
|
조회 2,706
|
|
|
|
11-11-03
|
조회 5,665
|
|
|
|
11-11-02
|
조회 5,940
|
|
|
|
11-11-01
|
조회 3,230
|
|
|
|
11-11-01
|
조회 2,671
|
|
|
|
11-11-01
|
조회 3,283
|
|
|
|
11-11-01
|
조회 2,583
|
|
|
|
11-11-01
|
조회 2,918
|
|
|
|
11-11-01
|
조회 2,430
|
|
|
|
11-11-01
|
조회 9,446
|
|
|
|
11-11-01
|
조회 2,997
|
|
|
|
11-10-31
|
조회 2,376
|
|
|
|
11-10-27
|
조회 2,645
|
|
|
|
11-10-26
|
조회 3,221
|
|
|
|
11-10-26
|
조회 2,728
|
|
|
|
11-10-26
|
조회 2,581
|
|
|
|
11-10-26
|
조회 2,606
|
|
|
|
11-10-26
|
조회 2,487
|
|
|
|
11-10-25
|
조회 2,550
|
|
|
|
11-10-25
|
조회 2,657
|
|
|
|
11-10-25
|
조회 2,596
|
|
|
|
11-10-25
|
조회 2,569
|
|
|
|
11-10-24
|
조회 2,607
|
|
|
|
11-10-24
|
조회 2,891
|
|
|
|
11-10-24
|
조회 2,906
|
|
|
|
11-10-23
|
조회 3,273
|
|
|
|
11-10-23
|
조회 2,860
|
|
|
|
11-10-23
|
조회 2,753
|
|
|
|
11-10-21
|
조회 2,595
|
|
|
|
11-10-21
|
조회 2,527
|
|
|
|
11-10-21
|
조회 2,516
|
|
|
관리자
|
11-10-21
|
조회 2,916
|
|
|
|
11-10-20
|
조회 4,073
|
|
|
|
11-10-19
|
조회 2,573
|
|
|
|
11-10-19
|
조회 2,982
|
|
|
|
11-10-19
|
조회 4,106
|
|
|
|
11-10-19
|
조회 3,257
|
|
|
|
11-10-19
|
조회 2,959
|
|
|
|
11-10-19
|
조회 6,780
|
|
|
|
11-10-18
|
조회 4,111
|
|
|
|
11-10-18
|
조회 2,665
|
댓글 1개
// 뒤쪽에 옵션 추가
$("#myselect").append("<option value='1'>Apples</option>");
$("#myselect").append("<option value='2'>After Apples</option>");
// 앞쪽에 옵션 삽입
$("#myselect").prepend("<option value='0'>Before Apples</option>");
// 옵션변경
$("#myselect").html("<option value='1'>Some oranges</option><option value='2'>More Oranges</option><option value='3'>Even more oranges</option>");
// 인덱스 위치에 따라 옵션 변경
$("#myselect option:eq(1)").replaceWith("<option value='2'>Some apples</option>");
$("#myselect option:eq(2)").replaceWith("<option value='3'>Some bananas</option>");
// 2번째 옵션 셀렉트
$("#myselect option:eq(2)").attr("selected", "selected");
// 해당 텍스트를 가진 옵션 셀렉트
$("#myselect").val("Some oranges").attr("selected", "selected");
// 해당값을 가진 옵션 셀렉트
$("#myselect").val("2");
// 선택 옵션 제거
$("#myselect option:eq(0)").remove();
// 첫번째 옵션 제거
$("#myselect option:first").remove();
// 마지막 옵션 제거
$("#myselect option:last").remove();
// 셀렉트된 옵션 텍스트 리턴
alert($("#myselect option:selected").text());
// 셀렉트된 옵션 값리턴
alert($("#myselect option:selected").val());
// 셀렉트된 인덱스 리턴
alert($("#myselect option").index($("#myselect option:selected")));
// Alternative way to get the selected item
alert($("#myselect option:selected").prevAll().size());
// Insert an item in after a particular position
$("#myselect option:eq(0)").after("<option value='4'>Some pears</option>");
// Insert an item in before a particular position
$("#myselect option:eq(3)").before("<option value='5'>Some apricots</option>");
// Getting values when item is selected
$("#myselect").change(function() {
alert($(this).val());
alert($(this).children("option:selected").text());
});