k

[복사하기] 버튼 자료~

· 13년 전 · 2246

<script>
 function copyClip(clip) {
    copyOption = document.body.createTextRange();
    copyOption.moveToElementText(clip)
    copyOption.execCommand('copy');
    alert('복사되었습니다.');
 }
 </script>
 

<button style="cursor:pointer" onclick=copyClip(clip1)>1번복사물</button>
 <div id=clip1 style="display:none">대한민국</div>
 <button style="cursor:pointer" onclick=copyClip(clip2)>2번복사물</button>
 <div id=clip2 style="display:none">축구</div>
 <button style="cursor:pointer" onclick=copyClip(clip3)>3번복사물</button>
 <div id=clip3 style="display:none">국가대표</div>
 <button style="cursor:pointer" onclick=copyClip(clip4)>4번복사물</button>
 <div id=clip4 style="display:none">감독</div>
 <button style="cursor:pointer" onclick=copyClip(clip5)>5번복사물</button>
 <div id=clip5 style="display:none">조광래</div>

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
13년 전 조회 4,705
13년 전 조회 2,725
13년 전 조회 1.2만
13년 전 조회 2,710
13년 전 조회 1,933
13년 전 조회 2,846
13년 전 조회 4,609
13년 전 조회 8,667
13년 전 조회 1만
13년 전 조회 4,350
13년 전 조회 4,484
13년 전 조회 7,962
13년 전 조회 1.2만
13년 전 조회 5,547
13년 전 조회 2,084
13년 전 조회 2,234
13년 전 조회 3,713
13년 전 조회 2,216
13년 전 조회 5,041
13년 전 조회 1,959
13년 전 조회 4,455
13년 전 조회 4,985
13년 전 조회 3,410
13년 전 조회 3,702
13년 전 조회 4,773
13년 전 조회 2,205
13년 전 조회 4,379
13년 전 조회 6,750
13년 전 조회 3,177
13년 전 조회 2,859
13년 전 조회 2,776
13년 전 조회 2,686
13년 전 조회 2,416
13년 전 조회 4,694
13년 전 조회 2,318
13년 전 조회 3,035
13년 전 조회 7,380
13년 전 조회 4,753
13년 전 조회 4,146
13년 전 조회 4,612
13년 전 조회 2,976
13년 전 조회 2,287
13년 전 조회 2,712
13년 전 조회 2,770
13년 전 조회 1,939
13년 전 조회 4,893
13년 전 조회 5,467
13년 전 조회 3,795
13년 전 조회 9,806
13년 전 조회 2,247
13년 전 조회 1만
13년 전 조회 1.8만
13년 전 조회 2,759
13년 전 조회 2,230
13년 전 조회 7,751
13년 전 조회 2,256
13년 전 조회 2,432
13년 전 조회 2,196
13년 전 조회 2,319
13년 전 조회 2,667
13년 전 조회 2,487
13년 전 조회 2,574
13년 전 조회 5,180
13년 전 조회 3,604
13년 전 조회 5,885
13년 전 조회 4,588
13년 전 조회 5,774
13년 전 조회 3,561
13년 전 조회 2,819
13년 전 조회 2,477
13년 전 조회 3,605
13년 전 조회 6,517
13년 전 조회 2,602
13년 전 조회 5,459
13년 전 조회 7,001
13년 전 조회 2,825
13년 전 조회 3,899
13년 전 조회 3,175
13년 전 조회 2,131
13년 전 조회 3,840
13년 전 조회 3,369
13년 전 조회 2,305
13년 전 조회 2,025
13년 전 조회 4,741
13년 전 조회 3,146
13년 전 조회 1,948
13년 전 조회 2,038
13년 전 조회 9,668
13년 전 조회 6,210
13년 전 조회 9,172
13년 전 조회 2,103
13년 전 조회 2,948
13년 전 조회 3,198
13년 전 조회 2,770
13년 전 조회 4,115
13년 전 조회 2,533
13년 전 조회 2,663
13년 전 조회 1,957
13년 전 조회 2,733
13년 전 조회 2,705