<input type=button value=剪切 onclick=document.execCommand('Cut')>
<input type=button value=拷贝 onclick=document.execCommand('Copy')>
<input type=button value=粘贴 onclick=document.execCommand('Paste')>
<input type=button value=拷贝 onclick=document.execCommand('Copy')>
<input type=button value=粘贴 onclick=document.execCommand('Paste')>
解决方案 »
- 如何在asp.net网页中自做讯播播放器来看电影
- 关于onchange属性的一个小问题
- 用showModalDialog()方法打开的窗口如何隐藏掉标题栏?
- JavaScript 如何模拟.net中的DataSet,如同ajax.net中的response.value 一样。
- 纯HTML页面如何使用JavaScript与JAVA交互?
- 如何能获得"汉字字符,全角字符"的实际长度?
- div如何才能浮在一个object之上呢?
- 请问mailto能不能直接发信,而不调outlook出来?
- 关于正则表达式的简单问题
- 没学过,但想用,只好请大家了。(发错地方了只好再浪费分)
- 一个正则表达式的疑惑
- 一个很奇怪的问题,我在js中动态改变图象对象的scr后
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
<form> <p>
<input type=button value=粘贴>
</p>
<p>
<input type="text" >
</p>
</form>
</body>
</html>
<input type=button value=粘贴
onclick="this.form.txt.focus();document.execCommand('Paste')">
<input type="text" name=txt>
</form>