function copy(){ var Url2=document.getElementById("copyValue"); Url2.select(); document.execCommand("Copy"); alert("复制成功");}