|
|
|
11-06-10
|
조회 4,443
|
|
|
|
11-06-09
|
조회 2,682
|
|
|
|
11-06-09
|
조회 3,357
|
|
|
|
11-06-08
|
조회 3,067
|
|
|
|
11-06-07
|
조회 2,526
|
|
|
|
11-06-07
|
조회 3,979
|
|
|
|
11-06-07
|
조회 4,283
|
|
|
|
11-06-07
|
조회 2,554
|
|
|
|
11-06-07
|
조회 2,745
|
|
|
|
11-06-07
|
조회 3,518
|
|
|
|
11-06-06
|
조회 4,150
|
|
|
|
11-06-04
|
조회 2,977
|
|
|
|
11-06-04
|
조회 3,088
|
|
|
|
11-06-04
|
조회 2,415
|
|
|
|
11-06-04
|
조회 2,724
|
|
|
|
11-06-03
|
조회 2,657
|
|
|
|
11-06-02
|
조회 3,472
|
|
|
|
11-06-02
|
조회 2,712
|
|
|
|
11-06-01
|
조회 2,351
|
|
|
|
11-06-01
|
조회 2,491
|
|
|
|
11-06-01
|
조회 1,822
|
|
|
복스리
|
11-05-31
|
조회 2,382
|
|
|
복스리
|
11-05-31
|
조회 2,524
|
|
|
|
11-05-31
|
조회 2,933
|
|
|
|
11-05-31
|
조회 3,935
|
|
|
|
11-05-31
|
조회 2,944
|
|
|
|
11-05-31
|
조회 2,740
|
|
|
|
11-05-27
|
조회 3,169
|
|
|
|
11-05-26
|
조회 2,346
|
|
|
|
11-05-26
|
조회 2,490
|
|
|
|
11-05-26
|
조회 2,706
|
|
|
|
11-05-25
|
조회 2,982
|
|
|
|
11-05-24
|
조회 2,430
|
|
|
|
11-05-24
|
조회 2,769
|
|
|
|
11-05-24
|
조회 3,417
|
|
|
|
11-05-24
|
조회 2,369
|
|
|
|
11-05-24
|
조회 2,657
|
|
|
|
11-05-23
|
조회 2,745
|
|
|
|
11-05-21
|
조회 2,395
|
|
|
|
11-05-21
|
조회 2,509
|
|
|
|
11-05-20
|
조회 2,808
|
|
|
|
11-05-19
|
조회 3,311
|
|
|
|
11-05-19
|
조회 3,353
|
|
|
|
11-05-18
|
조회 3,167
|
|
|
|
11-05-18
|
조회 2,549
|
|
|
|
11-05-17
|
조회 2,831
|
|
|
|
11-05-17
|
조회 2,571
|
|
|
|
11-05-17
|
조회 2,631
|
|
|
|
11-05-17
|
조회 3,690
|
|
|
|
11-05-16
|
조회 2,897
|
|
|
|
11-05-16
|
조회 2,939
|
|
|
|
11-05-15
|
조회 2,969
|
|
|
|
11-05-13
|
조회 3,069
|
|
|
|
11-05-13
|
조회 2,493
|
|
|
관리자
|
11-05-12
|
조회 3,493
|
|
|
|
11-05-11
|
조회 5,697
|
|
|
|
11-05-11
|
조회 3,462
|
|
|
|
11-05-11
|
조회 3,587
|
|
|
|
11-05-11
|
조회 3,036
|
|
|
|
11-05-10
|
조회 3,512
|
|
|
|
11-05-10
|
조회 3,117
|
|
|
|
11-05-09
|
조회 2,880
|
|
|
|
11-05-09
|
조회 2,636
|
|
|
|
11-05-09
|
조회 2,559
|
|
|
|
11-05-07
|
조회 2,760
|
|
|
|
11-05-07
|
조회 3,061
|
|
|
|
11-05-06
|
조회 7,647
|
|
|
|
11-05-06
|
조회 3,072
|
|
|
|
11-05-05
|
조회 2,807
|
|
|
|
11-05-05
|
조회 2,833
|
|
|
|
11-05-04
|
조회 2,341
|
|
|
|
11-05-03
|
조회 2,596
|
|
|
|
11-05-02
|
조회 3,187
|
|
|
|
11-05-01
|
조회 2,677
|
|
|
|
11-05-01
|
조회 2,354
|
|
|
|
11-04-28
|
조회 2,981
|
|
|
|
11-04-28
|
조회 3,024
|
|
|
|
11-04-28
|
조회 3,372
|
|
|
|
11-04-28
|
조회 2,684
|
|
|
亞波治
|
11-04-25
|
조회 6,299
|
|
|
|
11-04-22
|
조회 2,901
|
|
|
|
11-04-22
|
조회 2,810
|
|
|
관리자
|
11-04-21
|
조회 2,770
|
|
|
관리자
|
11-04-21
|
조회 3,066
|
|
|
|
11-04-20
|
조회 2,851
|
|
|
|
11-04-20
|
조회 2,551
|
|
|
|
11-04-19
|
조회 2,693
|
|
|
|
11-04-19
|
조회 3,076
|
|
|
|
11-04-19
|
조회 2,385
|
|
|
|
11-04-18
|
조회 2,934
|
|
|
|
11-04-18
|
조회 2,966
|
|
|
|
11-04-15
|
조회 3,022
|
|
|
|
11-04-13
|
조회 5,718
|
|
|
|
11-04-13
|
조회 2,964
|
|
|
|
11-04-13
|
조회 2,693
|
|
|
관리자
|
11-04-12
|
조회 3,139
|
|
|
|
11-04-12
|
조회 3,303
|
|
|
|
11-04-12
|
조회 2,635
|
|
|
|
11-04-11
|
조회 3,711
|
|
|
|
11-04-10
|
조회 3,699
|
댓글 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());
});