-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCUMENTATION.js
36 lines (35 loc) · 1.35 KB
/
DOCUMENTATION.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function copy() {
var e = document.getElementById("copy");
e.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("Copied!");
}
function copy1() {
var e = document.getElementById("copy1");
e.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("Copied!");
}
function copy2() {
var e = document.getElementById("copy2");
e.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("Copied!");
}function copy3() {
var e = document.getElementById("copy3");
e.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("Copied!");
}
function copy4() {
var e = document.getElementById("copy4");
e.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("Copied!");
}
function copy5() {
var e = document.getElementById("copy5");
e.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("Copied!");
}