<script type="text/javascript">
function copyUrl2()
{
var Url2=document.getElementById("id");
Url2.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("已复制好,可贴粘。");
}
</script>

 

相关文章:

  • 2021-12-03
  • 2021-07-31
  • 2021-05-29
  • 2022-12-23
  • 2021-06-21
  • 2021-12-13
  • 2021-07-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案