let Url2=document.getElementById('XXX')
Url2.select(); // 选择对象
document.execCommand("Copy");
Url2.blur();
复制值
猜你喜欢
转载自www.cnblogs.com/ypwei/p/10170340.html
今日推荐
周排行