如何实现打开页面就一键复制?

WBOY
Release: 2016-06-20 12:34:42
Original
2078 people have browsed it

上次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>



      
    
    
  



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!