<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('Print')">
<input type=button value=全选 onclick="document.execCommand('SelectAll')">
<input type=button value=撤消 onclick="document.execCommand('Undo')">
<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)">
<input type=button value=刷新 onclick="window.location.reload()">
<input type=button value=前进 onclick="window.history.go(1)">
<input type=button value=后退 onclick="window.history.go(-1)">
<input type=button value=前进 onclick="window.history.forward()">
<input type=button value=后退 onclick="window.history.back()">
<input type=button value=拷贝 onclick="document.execCommand('Copy')">
<input type=button value=粘贴 onclick="document.execCommand('Paste')">
<INPUT type=button value=打印 onclick="document.execCommand('Print')">
<input type=button value=全选 onclick="document.execCommand('SelectAll')">
<input type=button value=撤消 onclick="document.execCommand('Undo')">
<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)">
<input type=button value=刷新 onclick="window.location.reload()">
<input type=button value=前进 onclick="window.history.go(1)">
<input type=button value=后退 onclick="window.history.go(-1)">
<input type=button value=前进 onclick="window.history.forward()">
<input type=button value=后退 onclick="window.history.back()">
解决方案 »
- 图片立体旋转特效在chrome 火狐 下失效,求解!是js的问题,不规范?求高手帮改。代码最下面有我的标注。
- 求:单击文本框,弹出层
- 求网站两边浮动广告的问题
- 有没有像My97DatePicker控件的时间(小时,分,秒)的输入程序
- 三级可折叠式竖式树状菜单
- js调用txt并进行字符替换,如何操作?很急,盼复!
- easyui中,treegrid的url问题
- 一个奇怪的javascript问题!
- 如果不使用button的onclick事件,在onsubmit事件中如何判断是哪个submit类型按钮提交?
- 如何找到所有对象的id开头为“xx_”的值
- 怎么限制文本框里不能输入中文
- 急啊,关于:怎样在javascript里使用二维数组,怎样赋值?怎样取值?
history.forward () : Loads the next URL from the History list.
location.reload() :Reloads the current page.停止还没想到
<input type=button value=停止 onclick="window.location.stop()">
MSDN 上LOCATION 没有 STOP 吧
另外 onclick="document.execCommand('stop')" 据MSDN 的解释现在还不支持,所以我说“现在就不能 STOP !!”