Home >Backend Development >PHP Tutorial >如何实现打开页面就一键复制?
上次SHOWBO大神,教我如何一键复制到剪贴板。代码如下:
<script></script>
<script></script>
<script> <br /> $(function () { <br /> var pic="157"; <br /> $("#item>a[rel=copylink]").zclip( <br /> {path:'/ZeroClipboard.swf', copy: pic }); <br /> }); <br /></script>