<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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 20064 | |
| 10570 | |
| 10566 |
JavaScript
모바일웹 이미지맵 사용 소스
3
|
| 10565 |
JavaScript
[복사하기] 버튼 자료~
현재글
|
| 20055 | |
| 10560 |
PHP
php 동영상 강좌
4
|
| 10559 |
jQuery
array toggle
|
| 10557 | |
| 20051 |
HTML
IE6 PNG 초 간단하게 적용
3
|
| 20049 | |
| 10555 | |
| 10554 | |
| 10553 | |
| 284 | |
| 10552 | |
| 10551 | |
| 10545 |
jQuery
참고사이트 모음
5
|
| 10541 | |
| 10533 | |
| 20045 | |
| 20036 | |
| 10530 | |
| 10526 | |
| 10524 | |
| 10522 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기