常用的DOCUMENT.EXECCOMMAND
2008-08-30 11:55
387 查看
<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)>
只限ie使用......
<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)>
只限ie使用......
相关文章推荐
- JS 操作IE游览器常用函数:window.external,history,document.execCommand,window.location,WebBrowser.ExecWB
- javascript document.execCommand() 常用解析
- 常用的DOCUMENT.EXECCOMMAND
- JS 操作IE游览器常用函数:window.external,history,document.execCommand
- 常用的DOCUMENT.EXECCOMMAND
- 常用的document.execCommand
- 常用的DOCUMENT.EXECCOMMAND
- javascript document.execCommand() 常用解析
- JS 操作IE游览器常用函数:window.external,history,document.execCommand
- 常用的DOCUMENT.EXECCOMMAND
- document.execCommand()用法说明
- [整理]document.execCommand()
- document.execCommand()函数可用参数解析 (转)
- document.execCommand()的用法小记
- window.document.execCommand("SaveAs",false,id+".xls"); 在IE7下的问题
- 利用IE"错觉"实现document.execCommand("SaveAs","","") 默认保存为GB2312 格式
- ie6背景图片不缓存bug处理document.execCommand('BackgroundImageCache', false, true)
- C# WebBrowser document.execCommand()解析
- document.execCommand() 解析
- document.execCommand() 用法说明