jquery+flash实现点击复制功能(需在服务器上测试有效)
来源:互联网 发布:最好的淘宝客程序 编辑:程序博客网 时间:2024/04/29 17:03
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>点击复制到剪切板</title><script language="javascript" src="js/jquery.1.6.3.js"></script></head><body><input id="test1" type="text" class="form2" value="http://www.iepai.com" size="50" readonly /> <a id="cp1" href="javascript:void(0)">点击复制</a><br/><input id="test2" type="text" class="form2" value="http://sz.iepai.com" size="50" readonly/> <a id="cp2" href="javascript:void(0)">点击复制</a><script language="javascript" src="js/jquery.zclip.js"></script><script> $(document).ready(function(){ $('a#cp1').zclip({ path:'ZeroClipboard.swf', copy:function(){return $('input#test1').val();} }); $('a#cp2').zclip({ path:'ZeroClipboard.swf', copy:function(){return $('input#test2').val();} });});</script></body></html>
注:项目必须放在服务器上测试才会看到效果。
下载地址:http://download.csdn.net/detail/boyit0/8096583
0 0
- jquery+flash实现点击复制功能(需在服务器上测试有效)
- 页面上点击按钮实现复制功能
- JS实现点击复制功能(ZeroClipboard)
- javascript:点击复制功能实现
- jquery实现点击缩略图在弹出层显示原图功能
- Android- WebView 在文本上实现 复制粘贴功能
- 【项目心得】在微信网页上的点击按钮复制功能
- iOS-点击按钮实现复制功能
- jquery实现多个点击复制按钮
- 转载:在MySql上实现MSSQL的"链接服务器"功能
- 配置Memcache服务器并实现主从复制功能(repcached)
- 配置Memcache服务器并实现主从复制功能(repcached)
- 实现在同一台服务器上登录的ssh用户的群聊(聊天室)功能
- 实现多台服务器上Redis的数据主从复制的功能
- jquery实现table行复制粘贴功能
- JQuery实现 点击单元格定位功能案例
- jQuery点击文本框复制其内容到剪贴板上
- AngularJS框架上实现复制链接功能
- openfire Android学习(三)----会议室创建、加入以及查询会议室中所有成员等
- about change run
- UVa 498 - Polly the Polynomial
- 宁波合肥Ann Summers验厂咨询遂宁VF验厂辅导
- python re模块的学习
- jquery+flash实现点击复制功能(需在服务器上测试有效)
- 比较好的Maple入门教材
- Asp.Net服务器控件开发的Grid实现(三)列编辑器
- DM642 FVID驱动编写小结
- Wubi安装Ubuntu 12.04
- Machine Learning课程笔记5:神经网络(学习)
- openfire Android 学习(四)----单人聊天和多人聊天(发送消息、接收消息)
- Eclise SVN在分支合并主干的修改
- 温州安庆Watsons验厂培训淮南内江D&G验厂内容