|
|
|
12-08-29
|
조회 5,524
|
|
|
|
12-08-21
|
조회 3,501
|
|
|
|
12-08-21
|
조회 3,583
|
|
|
|
12-08-05
|
조회 3,519
|
|
|
|
12-08-04
|
조회 4,497
|
|
|
|
12-07-31
|
조회 9,383
|
|
|
미키손
|
12-07-26
|
조회 3,915
|
|
|
|
12-07-24
|
조회 3,532
|
|
|
|
12-07-20
|
조회 3,547
|
|
|
|
12-07-15
|
조회 3,471
|
|
|
|
12-07-09
|
조회 4,717
|
|
|
|
12-07-09
|
조회 3,427
|
|
|
|
12-07-09
|
조회 3,313
|
|
|
|
12-07-06
|
조회 4,157
|
|
|
|
12-07-05
|
조회 3,256
|
|
|
|
12-07-05
|
조회 3,331
|
|
|
|
12-06-30
|
조회 3,442
|
|
|
|
12-06-29
|
조회 3,238
|
|
|
|
12-06-26
|
조회 3,470
|
|
|
|
12-06-18
|
조회 3,341
|
|
|
|
12-06-18
|
조회 3,472
|
|
|
|
12-05-31
|
조회 3,624
|
|
|
선택이란
|
12-05-29
|
조회 4,387
|
|
|
|
12-05-23
|
조회 3,463
|
|
|
|
12-05-22
|
조회 3,767
|
|
|
|
12-05-17
|
조회 4,614
|
|
|
|
12-05-10
|
조회 3,511
|
|
|
|
12-05-06
|
조회 3,392
|
|
|
|
12-05-04
|
조회 3,062
|
|
|
|
12-04-25
|
조회 3,559
|
|
|
|
12-04-21
|
조회 3,103
|
|
|
|
12-04-21
|
조회 4,475
|
|
|
|
12-04-20
|
조회 3,571
|
|
|
|
12-04-10
|
조회 3,017
|
|
|
|
12-04-06
|
조회 2,880
|
|
|
|
12-04-05
|
조회 3,219
|
|
|
관리자
|
12-04-05
|
조회 3,895
|
|
|
|
12-03-31
|
조회 3,040
|
|
|
관리자
|
12-03-30
|
조회 3,107
|
|
|
|
12-03-29
|
조회 3,016
|
|
|
|
12-03-28
|
조회 3,047
|
|
|
|
12-03-27
|
조회 3,347
|
|
|
|
12-03-26
|
조회 3,740
|
|
|
|
12-03-23
|
조회 2,932
|
|
|
|
12-03-20
|
조회 2,994
|
|
|
|
12-03-12
|
조회 2,941
|
|
|
|
12-03-12
|
조회 3,262
|
|
|
|
12-03-12
|
조회 3,166
|
|
|
|
12-03-12
|
조회 4,115
|
|
|
|
12-03-12
|
조회 5,733
|
|
|
|
12-03-12
|
조회 3,714
|
|
|
|
12-03-12
|
조회 5,524
|
|
|
|
12-03-12
|
조회 3,738
|
|
|
|
12-03-12
|
조회 6,141
|
|
|
|
12-03-06
|
조회 3,052
|
|
|
|
12-03-04
|
조회 4,201
|
|
|
|
12-03-02
|
조회 4,108
|
|
|
|
12-02-16
|
조회 5,184
|
|
|
亞波治
|
12-02-15
|
조회 4,646
|
|
|
|
12-02-11
|
조회 3,012
|
|
|
|
12-02-08
|
조회 2,871
|
|
|
|
12-02-08
|
조회 3,878
|
|
|
|
12-02-07
|
조회 3,276
|
|
|
|
12-01-30
|
조회 3,102
|
|
|
|
12-01-29
|
조회 3,416
|
|
|
|
12-01-25
|
조회 3,406
|
|
|
|
12-01-19
|
조회 3,064
|
|
|
|
12-01-12
|
조회 3,083
|
|
|
|
11-12-30
|
조회 3,709
|
|
|
|
11-12-29
|
조회 3,109
|
|
|
|
11-12-26
|
조회 3,097
|
|
|
|
11-12-26
|
조회 2,997
|
|
|
선택이란
|
11-12-17
|
조회 4,129
|
|
|
선택이란
|
11-12-17
|
조회 3,402
|
|
|
|
11-12-01
|
조회 3,080
|
|
|
|
11-11-19
|
조회 4,250
|
|
|
|
11-11-14
|
조회 4,132
|
|
|
|
11-11-14
|
조회 2,749
|
|
|
|
11-11-10
|
조회 2,981
|
|
|
|
11-11-10
|
조회 3,649
|
|
|
|
11-10-27
|
조회 2,523
|
|
|
|
11-10-26
|
조회 2,610
|
|
|
|
11-10-25
|
조회 2,525
|
|
|
|
11-10-17
|
조회 3,695
|
|
|
|
11-10-10
|
조회 2,562
|
|
|
|
11-10-03
|
조회 2,627
|
|
|
|
11-09-28
|
조회 2,490
|
|
|
|
11-09-28
|
조회 3,996
|
|
|
|
11-09-26
|
조회 2,477
|
|
|
|
11-09-26
|
조회 2,590
|
|
|
|
11-09-25
|
조회 2,936
|
|
|
|
11-09-19
|
조회 6,060
|
|
|
|
11-09-09
|
조회 3,024
|
|
|
|
11-09-08
|
조회 3,333
|
|
|
관리자
|
11-08-31
|
조회 3,126
|
|
|
|
11-08-29
|
조회 5,110
|
|
|
|
11-08-25
|
조회 2,794
|
|
|
|
11-08-23
|
조회 2,472
|
|
|
선택이란
|
11-08-21
|
조회 2,493
|
|
|
|
11-08-19
|
조회 2,410
|
댓글 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());
});