copy2copyBoard 原生 复制文本到粘贴板

<input type="text" value="Hello World" id="myInput"> <button onclick="myFunction()">Copy text</button> function myFunction() { var copyText = document.getElementById("myInput"); copyText.selec
相关文章
相关标签/搜索