|
|
|
11-07-16
|
조회 2,963
|
|
|
|
11-07-16
|
조회 3,130
|
|
|
|
11-07-15
|
조회 2,637
|
|
|
|
11-07-13
|
조회 3,565
|
|
|
|
11-07-13
|
조회 2,790
|
|
|
|
11-07-12
|
조회 3,427
|
|
|
|
11-07-12
|
조회 3,006
|
|
|
|
11-07-12
|
조회 2,629
|
|
|
|
11-07-12
|
조회 4,808
|
|
|
|
11-07-12
|
조회 3,212
|
|
|
|
11-07-12
|
조회 2,598
|
|
|
|
11-07-12
|
조회 2,461
|
|
|
관리자
|
11-07-12
|
조회 3,383
|
|
|
|
11-07-11
|
조회 2,588
|
|
|
|
11-07-11
|
조회 2,426
|
|
|
|
11-07-11
|
조회 2,352
|
|
|
|
11-07-11
|
조회 3,748
|
|
|
|
11-07-11
|
조회 2,316
|
|
|
|
11-07-11
|
조회 2,561
|
|
|
|
11-07-11
|
조회 3,328
|
|
|
|
11-07-11
|
조회 2,478
|
|
|
|
11-07-09
|
조회 2,549
|
|
|
|
11-07-08
|
조회 3,081
|
|
|
|
11-07-08
|
조회 2,708
|
|
|
|
11-07-08
|
조회 2,812
|
|
|
|
11-07-08
|
조회 2,623
|
|
|
|
11-07-07
|
조회 3,990
|
|
|
|
11-07-07
|
조회 2,648
|
|
|
|
11-07-07
|
조회 2,261
|
|
|
|
11-07-06
|
조회 2,486
|
|
|
|
11-07-06
|
조회 2,307
|
|
|
|
11-07-05
|
조회 2,313
|
|
|
|
11-07-05
|
조회 2,205
|
|
|
|
11-07-05
|
조회 2,458
|
|
|
|
11-07-05
|
조회 2,775
|
|
|
|
11-07-04
|
조회 3,010
|
|
|
|
11-07-03
|
조회 2,685
|
|
|
|
11-07-02
|
조회 2,720
|
|
|
복스리
|
11-07-02
|
조회 2,519
|
|
|
|
11-07-01
|
조회 2,659
|
|
|
|
11-07-01
|
조회 2,939
|
|
|
|
11-07-01
|
조회 2,748
|
|
|
|
11-07-01
|
조회 3,071
|
|
|
|
11-06-29
|
조회 2,800
|
|
|
|
11-06-28
|
조회 2,612
|
|
|
|
11-06-28
|
조회 2,653
|
|
|
|
11-06-28
|
조회 2,634
|
|
|
|
11-06-28
|
조회 3,197
|
|
|
|
11-06-28
|
조회 3,237
|
|
|
|
11-06-28
|
조회 2,918
|
|
|
|
11-06-27
|
조회 3,087
|
|
|
xpem
|
11-06-27
|
조회 3,241
|
|
|
|
11-06-27
|
조회 2,186
|
|
|
|
11-06-27
|
조회 2,722
|
|
|
|
11-06-27
|
조회 2,161
|
|
|
|
11-06-26
|
조회 2,496
|
|
|
|
11-06-26
|
조회 2,918
|
|
|
|
11-06-26
|
조회 2,430
|
|
|
|
11-06-26
|
조회 2,470
|
|
|
|
11-06-25
|
조회 2,670
|
|
|
|
11-06-24
|
조회 2,814
|
|
|
|
11-06-24
|
조회 2,711
|
|
|
|
11-06-24
|
조회 2,455
|
|
|
|
11-06-24
|
조회 2,767
|
|
|
|
11-06-23
|
조회 2,903
|
|
|
|
11-06-23
|
조회 2,850
|
|
|
|
11-06-23
|
조회 2,435
|
|
|
복스리
|
11-06-23
|
조회 3,658
|
|
|
|
11-06-23
|
조회 1,965
|
|
|
|
11-06-22
|
조회 2,652
|
|
|
|
11-06-22
|
조회 2,458
|
|
|
다케미카코
|
11-06-22
|
조회 2,340
|
|
|
|
11-06-22
|
조회 2,916
|
|
|
|
11-06-22
|
조회 3,289
|
|
|
|
11-06-21
|
조회 2,731
|
|
|
|
11-06-21
|
조회 2,351
|
|
|
|
11-06-21
|
조회 2,385
|
|
|
|
11-06-20
|
조회 2,635
|
|
|
|
11-06-17
|
조회 2,969
|
|
|
|
11-06-16
|
조회 3,086
|
|
|
|
11-06-16
|
조회 2,122
|
|
|
|
11-06-16
|
조회 2,615
|
|
|
|
11-06-15
|
조회 2,577
|
|
|
|
11-06-15
|
조회 2,572
|
|
|
|
11-06-15
|
조회 3,325
|
|
|
|
11-06-15
|
조회 3,159
|
|
|
|
11-06-15
|
조회 3,031
|
|
|
|
11-06-14
|
조회 2,746
|
|
|
|
11-06-14
|
조회 2,730
|
|
|
|
11-06-14
|
조회 3,350
|
|
|
|
11-06-13
|
조회 2,544
|
|
|
|
11-06-13
|
조회 2,174
|
|
|
|
11-06-13
|
조회 2,478
|
|
|
|
11-06-13
|
조회 2,365
|
|
|
|
11-06-13
|
조회 2,889
|
|
|
|
11-06-13
|
조회 3,137
|
|
|
|
11-06-13
|
조회 2,838
|
|
|
|
11-06-12
|
조회 2,508
|
|
|
|
11-06-10
|
조회 2,591
|
|
|
|
11-06-10
|
조회 2,630
|
댓글 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());
});