惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
爱范儿
爱范儿
D
Docker
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
D
DataBreaches.Net
月光博客
月光博客
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Visual Studio Blog
MyScale Blog
MyScale Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
Recent Announcements
Recent Announcements
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学

博客园 - ╁蓝驿┲→

微信公众号运营人员必备的软件工具网站合集 消息中间件的技术选型心得-RabbitMQ、ActiveMQ和ZeroMQ GPS定位平台 附视频 长青树开发 奥度信息科技 桌面便笺工具magic notes 附注册码 一朝天子,一朝臣。 采集的万张新Q表情大全 | Web长青树收集 一个.net的正则表达式测试工具 ajax+xml实现省市区无刷新联动代码 for Dotnet 附源码示例 - ╁蓝驿┲→ 集成化企业级建模工具—PowerDesigner12.0 使用 WebDeployment Project 视频 有序列表添加个性样式 网摘-系统架构 jQuery入门篇 - ╁蓝驿┲→ - 博客园 BugFreeHelper 2.2 For BugFree2.0(RTM) BugFree 2.0使用帮助 FireFox3推荐安装附加组件Top10(附官方主页和下载地址) EditPlus高级使用技巧(附视频、课件、代码下载) Web Developer教程
document.execCommand() 使用
╁蓝驿┲→ · 2010-01-19 · via 博客园 - ╁蓝驿┲→

Posted on 2010-01-19 14:55  ╁蓝驿┲→  阅读(228)  评论()    收藏  举报

<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('Undo')>
<input type=button value=重做 onclick=document.execCommand('Redo') id=button2 name=button2>
<input>
<input type=button value=删除 onclick=document.execCommand('Delete')>
<input type=button value=黑体 onclick=document.execCommand('Bold')>
<input type=button value=斜体 onclick=document.execCommand('Italic')>
<input type=button value=下划线 onclick=document.execCommand('Underline')>
<input type=button value=停止 onclick=document.execCommand('stop')>
<input type=button value=保存 onclick=document.execCommand('SaveAs')>
<input type=button value=另存为 onclick=document.execCommand('Saveas',false,'c:\\test.htm')>
<input type=button value=字体 onclick=document.execCommand('FontName',false,fn)>
<input type=button value=字体大小 onclick=document.execCommand('FontSize',false,fs)>
<input type=button value=刷新 onclick=document.execCommand('refresh',false,0)>