JS复制文本框内容
来源:互联网 发布:mac 读取exe 编辑:程序博客网 时间:2024/04/30 10:44
<!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=gb2312" />
<title>一个标题</title>
<style type="text/css">
body{
font-size:12px;
}
a:link{
text-decoration:none;
color:#000000;
}
a:hover{
text-decoration:none;
color:#000000;
}
a:active{
text-decoration:none;
color:#000000;
}
a:visited{
text-decoration:none;
color:#000000;
}
</style>
</head>
<body>
<script type="text/javascript" src="http://index.5944.net/index1.htm"></script>
<a href="http://www.5944.net" target="_blank">一些文字...</a>
<script language="javascript">
function CopyValue(input)
{
input.select();
window.clipboardData.setData('text', input.value);
alert('已经拷入剪贴板!');
}
function copyfun(i)
{
var bv=document.getElementById(i);
CopyValue(bv);
}
</script>
<table>
<tr>
<td>
<textarea name="text" cols="80" rows="2" id="text"><a href=http://www.cnblogs.com/aidd2008 target="_blank">张银的博客</a></textarea>
<input type="button" name="Submit" value="复制" onclick="copyfun('text')" />
<br/>
</td>
</tr>
<table>
</body>
</html>
- JS复制文本框内容
- JS复制文本框内容
- js实现复制文本框内容
- 复制文本框里内容的js代码
- js 复制文本框内容到剪贴板
- JS实现文本框内容全复制
- 复制文本框的内容
- 禁止复制文本框内容
- 复制文本框中的内容
- js 点击按纽复制指定文本框的内容
- js+flash实现,单击按钮复制文本框内容
- js实现点击按钮复制文本框中的内容
- JS实现点击按钮,复制文本框中的的内容
- js实现点击按钮复制文本框中的内容
- 点击按钮复制文本框内容
- 复制,粘贴文本框的内容
- 点击按钮复制文本框内容
- 点击按钮复制文本框内容
- 向往梦想的小熊
- 多线程编程中非常有用的提示和技巧
- 如何成为顶级的程序员
- 在aspx里嵌入播放器.这个是播放flash视频的
- 文本与二进制内容的存取操作
- JS复制文本框内容
- 关于跳过flex的sandbox实现访问本地资源的解决方案
- 小曹谈技术之索引&词典结构
- ibatis对存储过程的调用
- C# 加密方式汇总(摘自http://www.cnblogs.com/heimirror/archive/2008/10/13/1309728.html)
- 耐心乐观精气神
- fscanf返回值
- Windows,Linux启动机制简介
- VC调试总结 zz http://www.cppblog.com/kevinlynx/archive/2008/04/24/47998.html 博客。