|
|
|
11-04-08
|
조회 3,454
|
|
|
|
11-04-06
|
조회 3,196
|
|
|
|
11-04-05
|
조회 2,706
|
|
|
|
11-04-05
|
조회 3,212
|
|
|
|
11-04-04
|
조회 3,119
|
|
|
|
11-04-03
|
조회 2,833
|
|
|
|
11-04-02
|
조회 2,483
|
|
|
|
11-04-02
|
조회 4,198
|
|
|
|
11-04-02
|
조회 3,578
|
|
|
|
11-04-02
|
조회 2,941
|
|
|
|
11-04-01
|
조회 3,668
|
|
|
|
11-04-01
|
조회 2,450
|
|
|
|
11-04-01
|
조회 2,613
|
|
|
|
11-04-01
|
조회 3,218
|
|
|
|
11-04-01
|
조회 3,496
|
|
|
관리자
|
11-03-31
|
조회 2,971
|
|
|
|
11-03-30
|
조회 2,597
|
|
|
|
11-03-27
|
조회 2,809
|
|
|
|
11-03-27
|
조회 2,696
|
|
|
|
11-03-27
|
조회 3,583
|
|
|
|
11-03-27
|
조회 3,774
|
|
|
|
11-03-26
|
조회 3,602
|
|
|
|
11-03-25
|
조회 2,674
|
|
|
|
11-03-25
|
조회 3,213
|
|
|
|
11-03-25
|
조회 3,254
|
|
|
|
11-03-25
|
조회 3,341
|
|
|
똥싼너구리
|
11-03-24
|
조회 5,206
|
|
|
|
11-03-23
|
조회 2,645
|
|
|
|
11-03-23
|
조회 3,671
|
|
|
|
11-03-23
|
조회 2,524
|
|
|
|
11-03-22
|
조회 2,637
|
|
|
|
11-03-22
|
조회 2,451
|
|
|
|
11-03-21
|
조회 2,937
|
|
|
|
11-03-20
|
조회 3,391
|
|
|
|
11-03-20
|
조회 2,900
|
|
|
|
11-03-19
|
조회 2,757
|
|
|
|
11-03-18
|
조회 2,401
|
|
|
|
11-03-18
|
조회 3,421
|
|
|
|
11-03-18
|
조회 2,931
|
|
|
|
11-03-18
|
조회 2,635
|
|
|
|
11-03-17
|
조회 3,941
|
|
|
|
11-03-17
|
조회 2,988
|
|
|
|
11-03-17
|
조회 2,921
|
|
|
|
11-03-17
|
조회 2,461
|
|
|
|
11-03-17
|
조회 3,328
|
|
|
|
11-03-15
|
조회 4,288
|
|
|
|
11-03-15
|
조회 2,663
|
|
|
|
11-03-14
|
조회 2,097
|
|
|
|
11-03-14
|
조회 3,691
|
|
|
|
11-03-14
|
조회 3,484
|
|
|
|
11-03-14
|
조회 2,259
|
|
|
|
11-03-13
|
조회 2,841
|
|
|
|
11-03-13
|
조회 3,172
|
|
|
|
11-03-12
|
조회 2,833
|
|
|
|
11-03-12
|
조회 2,211
|
|
|
|
11-03-12
|
조회 2,208
|
|
|
|
11-03-11
|
조회 2,646
|
|
|
|
11-03-11
|
조회 2,941
|
|
|
|
11-03-11
|
조회 2,734
|
|
|
|
11-03-10
|
조회 2,452
|
|
|
|
11-03-10
|
조회 2,817
|
|
|
|
11-03-10
|
조회 2,666
|
|
|
|
11-03-10
|
조회 2,980
|
|
|
|
11-03-10
|
조회 2,472
|
|
|
|
11-03-10
|
조회 2,712
|
|
|
|
11-03-09
|
조회 2,475
|
|
|
|
11-03-09
|
조회 2,876
|
|
|
|
11-03-09
|
조회 2,211
|
|
|
|
11-03-09
|
조회 3,686
|
|
|
|
11-03-09
|
조회 2,888
|
|
|
|
11-03-09
|
조회 4,519
|
|
|
|
11-03-08
|
조회 2,901
|
|
|
|
11-03-08
|
조회 2,550
|
|
|
|
11-03-08
|
조회 2,627
|
|
|
|
11-03-08
|
조회 2,584
|
|
|
|
11-03-08
|
조회 2,077
|
|
|
|
11-03-08
|
조회 2,434
|
|
|
|
11-03-07
|
조회 2,440
|
|
|
|
11-03-07
|
조회 3,845
|
|
|
|
11-03-05
|
조회 2,532
|
|
|
사랑은봄비처럼
|
11-03-05
|
조회 5,036
|
|
|
|
11-03-04
|
조회 2,314
|
|
|
|
11-03-04
|
조회 2,150
|
|
|
|
11-03-04
|
조회 2,261
|
|
|
|
11-03-04
|
조회 3,281
|
|
|
|
11-03-04
|
조회 2,946
|
|
|
|
11-03-04
|
조회 2,658
|
|
|
|
11-03-04
|
조회 2,688
|
|
|
|
11-03-04
|
조회 2,643
|
|
|
|
11-03-04
|
조회 2,740
|
|
|
|
11-03-04
|
조회 2,334
|
|
|
|
11-03-03
|
조회 1,938
|
|
|
|
11-03-03
|
조회 2,461
|
|
|
|
11-03-03
|
조회 3,675
|
|
|
|
11-03-03
|
조회 3,001
|
|
|
|
11-03-03
|
조회 3,365
|
|
|
|
11-03-03
|
조회 2,363
|
|
|
|
11-03-03
|
조회 2,825
|
|
|
|
11-03-03
|
조회 3,075
|
|
|
|
11-03-03
|
조회 3,191
|
댓글 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());
});