<input onclick="document.all.WebBrowser.ExecWB(1,1)" type="button" value="打开" name="Button1">

<br>

<input onclick="document.all.WebBrowser.ExecWB(4,1)" type="button" value="另存为" name="Button2">

<br>

<input onclick="document.all.WebBrowser.ExecWB(10,1)" type="button" value="属性" name="Button3">

<br>

<input onclick="document.all.WebBrowser.ExecWB(6,1)" type="button" value="打印" name="Button">

<br>

<input onclick="document.all.WebBrowser.ExecWB(8,1)" type="button" value="页面设置" name="Button4">

<br>

<input onclick="window.location.reload()" type="button" value="刷新" name="refresh">

<br>

<input onClick="window.external.ImportExportFavorites(true,'');" type="button" value="导入收藏夹" name="Button5">

<br>

<input onClick="window.external.ImportExportFavorites(false,'');" type="button" value="导出收藏夹" name="Button32">

<br>

<input onClick="window.external.AddFavorite(location.href, document.title)" type="button" value="加入收藏夹" name="Button22">

<br>

<input onClick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type="button" value="整理收藏夹" name="Submit2">

<br>

<input onclick='window.location="view-source:" + window.location.href' type="button" value="查看源文件" name="Button7">

<br>

<input onClick="window.external.ShowBrowserUI('LanguageDialog', null)" type="button" value="语言设置" name="Button6">

<br>

<input onClick="document.execCommand('Cut')" type="button" value="剪切">

<br>

<input onClick="document.execCommand('Copy')" type="button" value="拷贝">

<br>

<input onClick="document.execCommand('Paste')" type="button" value="粘贴">

<br>

<input onClick="document.execCommand('Undo')" type="button" value="撤消">

<br>

<input onClick="document.execCommand('Delete')" type="button" value="删除">

<br>

<input onClick="document.execCommand('Bold')" type="button" value="黑体">

<br>

<input onClick="document.execCommand('Italic')" type="button" value="斜体">

<br>

<input onClick="document.execCommand('Underline')" type="button" value="下划线">

<br>

<input onClick="document.execCommand('stop')" type="button" value="停止">

<br>

<input onClick="document.execCommand('SaveAs')" type="button" value="保存">

<br>

<input onClick="document.execCommand('Saveas',false,'c:\\Autorun.inf')" type="button" value="另存为">

<br>

<input onClick="document.execCommand('FontName',false,fn)" type="button" value="字体">

<br>

<input onClick="document.execCommand('FontSize',false,fs)" type="button" value="字体大小">

<br>

<input onClick="document.execCommand('refresh',false,0)" type="button" value="刷新">

<br>

<input onclick="window.location.reload()" type="button" value="刷新">

<br>

<input onclick="history.go(1)" type="button" value="前进">

<br>

<input onclick="history.go(-1)" type="button" value="后退">

<br>

<input onclick="history.forward()" type="button" value="前进">

<br>

<input onclick="history.back()" type="button" value="后退">

<br>

<input type="button" value="弹出固定窗口" onClick="javascript:window.open('#','','scrollbars=yes,width=600,height=200')" >

<br>

<input type="button" value="没有提示关闭" onclick="window.opener=null;window.close();" />

<br>

<input type="button" value="点击进入另一页面" onclick="window.location.href=''" />

<br>

<input type="button" value="返回上一页" onclick="javascript:history.go(-1);" />

html 常用button事件的更多相关文章

  1. 关于SWT/JFace中其他常用的事件

    1.addSelectionListener:这个监听器最常用. 这个addSelectionListener是一个方法,addSelectionListener(SelectionListener ...

  2. JavaScript中常用的事件

    .onclick事件 点击事件(onclick并不是js中的方法,onclick只是浏览器提供js的一个dom接口,让js可以操作dom,所以onclick大小写都是没问题的,比如HTML代码就不用区 ...

  3. Android实现Button事件的处理

    Android实现Button事件的处理 开发工具:Andorid Studio 1.3 运行环境:Android 4.4 KitKat 代码实现 首先是最基本的线性布局,给每个控件设立id值,以供代 ...

  4. jQuery里面的常用的事件和基础动画的实现

    一:了解jquery里面常用的事件 二:了解基础动画的实现 1:加载DOM 在JavaScript中使用window.onload事件作为窗体加载事件(它在页面所有数据加载完成之后才会执行) 在jQu ...

  5. jQuery(二)button事件改变标签值

    button事件改变标签值 例子一: <html> <head> <script type="text/javascript" src="/ ...

  6. Android开发之Button事件实现方法的总结

    下面介绍Button事件实现的两种方法 main.xml <?xml version="1.0" encoding="utf-8"?> <Li ...

  7. lua 中处理cocos2dx 的button 事件

    lua 中处理cocos2dx 的button 事件 2014-05-08 09:44:32|  分类: lua |举报 |字号 订阅   1.引入这个类:require "GuiConst ...

  8. flex中Button事件中的e.target

    关于flex中的Button事件中的e.target. 今天想在事件中调用模块中的对象通过e.target获取单击的这个Button对象,但是可能是使用var btn:Button = e.targe ...

  9. NGUI3.x Button事件

    代码调用事件 UI搭建 1.首先创建一个Button,和一个的GameObeject命名为GUIClikEvent 2.方法一:创建一个NGUIClickTest.cs,绑定在Button上 Clic ...

随机推荐

  1. jmeter 上传附件

    1.查看上传接口参数,然后写到jmeter中 2.在file upload中parameterName填写main,MIME Type中填写request中的Content-Type

  2. Codeforces1099F. Cookies(线段树+dp+贪心+博弈)

    题目链接:传送门 思路: 分析到处理节点时的吃cookie的顺序了,然鹅不会用线段树维护前缀和.技术门槛QAQ... 很容易想到可以从root开始搜索,每次深入消耗时间2*边权w. 然后对于深入到点u ...

  3. 评测parser的好坏

    1.在dependency parsing中一般是用 LAS UAS 来衡量 简要说来UAS是知道是边对了(也就是它依赖的节点找对了)就算对,而LAS在前者的基础上要求更加严格,还要求边的Label也 ...

  4. 使用日期操作类(Calendar)获得几秒、几分钟、几小时之前的时间

    public String dealDate(String case_time){ // 日期操作类 Calendar calendar = Calendar.getInstance(); // 当前 ...

  5. css常用样式总结:

    一.input和textarea修改placeholder的颜色: input::-webkit-input-placeholder { /* WebKit browsers */ color: #c ...

  6. js···元素的属性

    Div.attributes 是所有标签属性构成的数据集合 Div.classList 是所有class名构成的数组集合 在classList的原型链上看以看到add()和remove(). clie ...

  7. HTML复习 2019-2-11

    HTML复习 2019-2-11 <!doctype html> <html> <!-- 常见问题答疑 Question 1:HTML标签可以大写吗? 大小写都可以,比如 ...

  8. Python练习六

    1.写函数,计算传入字符串中[数字].[字母].[空格].以及[其他]的个数,并返回结果. def day06_1(s): dic = {'num': 0, 'alpha': 0, 'space': ...

  9. 黑an网络---an网入门

    我认为学网络的会上an网也是一项必备的技能,我不是鼓励你去犯罪而是保护自己的个人隐私免遭被侵害.an网和shen网实际上都是从英文翻译来的,an网即Dark Net或Dark Web,shen网则译为 ...

  10. REST SOAP Thrift 对比

    别人的REST SOAP Thrift对比: 单项分数越高越好 项目 REST SOAP Thrift Extensibility 5 3 1 Neutrality 2 4 3 Independenc ...