|
|
|
12-08-29
|
조회 5,479
|
|
|
|
12-08-21
|
조회 3,461
|
|
|
|
12-08-21
|
조회 3,548
|
|
|
|
12-08-05
|
조회 3,387
|
|
|
|
12-08-04
|
조회 4,411
|
|
|
|
12-07-31
|
조회 9,296
|
|
|
미키손
|
12-07-26
|
조회 3,869
|
|
|
|
12-07-24
|
조회 3,502
|
|
|
|
12-07-20
|
조회 3,504
|
|
|
|
12-07-15
|
조회 3,330
|
|
|
|
12-07-09
|
조회 4,676
|
|
|
|
12-07-09
|
조회 3,389
|
|
|
|
12-07-09
|
조회 3,298
|
|
|
|
12-07-06
|
조회 4,122
|
|
|
|
12-07-05
|
조회 3,222
|
|
|
|
12-07-05
|
조회 3,290
|
|
|
|
12-06-30
|
조회 3,417
|
|
|
|
12-06-29
|
조회 3,212
|
|
|
|
12-06-26
|
조회 3,430
|
|
|
|
12-06-18
|
조회 3,304
|
|
|
|
12-06-18
|
조회 3,441
|
|
|
|
12-05-31
|
조회 3,603
|
|
|
선택이란
|
12-05-29
|
조회 4,364
|
|
|
|
12-05-23
|
조회 3,431
|
|
|
|
12-05-22
|
조회 3,720
|
|
|
|
12-05-17
|
조회 4,483
|
|
|
|
12-05-10
|
조회 3,484
|
|
|
|
12-05-06
|
조회 3,358
|
|
|
|
12-05-04
|
조회 3,039
|
|
|
|
12-04-25
|
조회 3,526
|
|
|
|
12-04-21
|
조회 3,068
|
|
|
|
12-04-21
|
조회 4,456
|
|
|
|
12-04-20
|
조회 3,555
|
|
|
|
12-04-10
|
조회 2,968
|
|
|
|
12-04-06
|
조회 2,841
|
|
|
|
12-04-05
|
조회 3,187
|
|
|
관리자
|
12-04-05
|
조회 3,859
|
|
|
|
12-03-31
|
조회 3,014
|
|
|
관리자
|
12-03-30
|
조회 3,076
|
|
|
|
12-03-29
|
조회 2,993
|
|
|
|
12-03-28
|
조회 3,014
|
|
|
|
12-03-27
|
조회 3,324
|
|
|
|
12-03-26
|
조회 3,716
|
|
|
|
12-03-23
|
조회 2,910
|
|
|
|
12-03-20
|
조회 2,967
|
|
|
|
12-03-12
|
조회 2,900
|
|
|
|
12-03-12
|
조회 3,238
|
|
|
|
12-03-12
|
조회 3,154
|
|
|
|
12-03-12
|
조회 4,105
|
|
|
|
12-03-12
|
조회 5,694
|
|
|
|
12-03-12
|
조회 3,696
|
|
|
|
12-03-12
|
조회 5,502
|
|
|
|
12-03-12
|
조회 3,715
|
|
|
|
12-03-12
|
조회 6,115
|
|
|
|
12-03-06
|
조회 3,028
|
|
|
|
12-03-04
|
조회 4,159
|
|
|
|
12-03-02
|
조회 4,075
|
|
|
|
12-02-16
|
조회 5,142
|
|
|
亞波治
|
12-02-15
|
조회 4,533
|
|
|
|
12-02-11
|
조회 2,989
|
|
|
|
12-02-08
|
조회 2,835
|
|
|
|
12-02-08
|
조회 3,850
|
|
|
|
12-02-07
|
조회 3,257
|
|
|
|
12-01-30
|
조회 2,963
|
|
|
|
12-01-29
|
조회 3,368
|
|
|
|
12-01-25
|
조회 3,365
|
|
|
|
12-01-19
|
조회 2,935
|
|
|
|
12-01-12
|
조회 3,049
|
|
|
|
11-12-30
|
조회 3,678
|
|
|
|
11-12-29
|
조회 3,083
|
|
|
|
11-12-26
|
조회 3,060
|
|
|
|
11-12-26
|
조회 2,954
|
|
|
선택이란
|
11-12-17
|
조회 4,102
|
|
|
선택이란
|
11-12-17
|
조회 3,302
|
|
|
|
11-12-01
|
조회 3,050
|
|
|
|
11-11-19
|
조회 4,231
|
|
|
|
11-11-14
|
조회 4,109
|
|
|
|
11-11-14
|
조회 2,737
|
|
|
|
11-11-10
|
조회 2,969
|
|
|
|
11-11-10
|
조회 3,634
|
|
|
|
11-10-27
|
조회 2,508
|
|
|
|
11-10-26
|
조회 2,593
|
|
|
|
11-10-25
|
조회 2,506
|
|
|
|
11-10-17
|
조회 3,681
|
|
|
|
11-10-10
|
조회 2,542
|
|
|
|
11-10-03
|
조회 2,599
|
|
|
|
11-09-28
|
조회 2,478
|
|
|
|
11-09-28
|
조회 3,978
|
|
|
|
11-09-26
|
조회 2,461
|
|
|
|
11-09-26
|
조회 2,574
|
|
|
|
11-09-25
|
조회 2,916
|
|
|
|
11-09-19
|
조회 6,021
|
|
|
|
11-09-09
|
조회 2,968
|
|
|
|
11-09-08
|
조회 3,312
|
|
|
관리자
|
11-08-31
|
조회 3,107
|
|
|
|
11-08-29
|
조회 5,098
|
|
|
|
11-08-25
|
조회 2,774
|
|
|
|
11-08-23
|
조회 2,458
|
|
|
선택이란
|
11-08-21
|
조회 2,467
|
|
|
|
11-08-19
|
조회 2,389
|
댓글 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());
});