Jvascript clip($ele)
페이지 정보
작성자 최고관리자 작성일 24-03-26 03:07 조회 1,398 댓글 0본문
function clip($ele) {
var string = '';
var textarea = document.createElement("textarea");
document.body.appendChild(textarea);
string = $ele.text();
textarea.value = string;
textarea.select();
document.execCommand("copy");
document.body.removeChild(textarea);
}
댓글목록 0
등록된 댓글이 없습니다.
