http://www.csdn.net/Develop/Read_Article.asp?Id=8243
解决方案 »
- Jquery 无法获取到值,真奇怪啊,求助
- 请教一个JS全屏的问题
- ●如果取得<Select>中<option value="1">普通邮寄</option>里的"普通邮寄"
- 在静态页面中怎么实现搜索,显示??
- 急!高手进来看看,框架之间如何传递参数?
- 如何判断一个TXT是否符合每行由两列组成中间由TAB分隔
- 请问有没有人搞过htc?如果有搞过的有没有用过微软一个htc文件:listsheet.htc
- 怎么取得层的坐标?高手帮忙啊
- 有没有办法用javascript获得一个text框中选中的内容。
- <script>里面有退出或是return吗?可以这么用吗?
- 怎么控制IE的状态栏上进度条
- 奇怪问题:使用javascript函数进行控件方法的调用后,鼠标状态就变成等待状态,除非你调用其他控件的方法。
<input name=meizz value=梅花雨><br>
<input type=button value=全选 onclick=document.form1.meizz.select()>
<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('SaveAs')>
</form>
<head>
<title></title>
<body>
<center>
<form name="jt">
<textarea name="ups" rows=10 cols=95></textarea><br>
<input type=button value=全选 onclick=document.jt.ups.select()>
<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('SaveAs')>
</form>
</center>
</body>
</html>
在上面文本框中操作有问题
希望调用剪贴板(clipboard)的功能并给出代码
再次请教
<input type=button value=拷贝 onclick="this.form.txt.select(); document.execCommand('Copy')">
<input type=button value=粘贴 onclick="this.form.txt2.focus(); document.execCommand('Paste')">
<br><input name=txt2>
</form>
用iframe做
打开iframe的编辑模式来实现写字板
你可以查查msdn。