<script type="text/javascript">
function copyLink(){
var e = document.getElementById("copy");
e.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("您已经复制本站连接,分享给你们的好朋友吧~!");
}
</script>
<textarea id="copy">www.xladmin.com,欢迎分享本站</textarea>
<li><input type="button" onclick="copyLink();" value="分享本站"></input></a></li>
Comments | NOTHING
该文章已经关闭评论