<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. 软件测试_MYSQL

    # MYSQL## 基础知识点### 进入数据库:在偏好设置中打开 — 打开终端 /usr/local/mysql/bin/mysql -u root -p### 可以把完整的命令分成几行打,完后用分 ...

  2. 播放器: AVPlayer

    AVPlayer *player = [AVPlayer playerWithURL:[NSURL URLWithString:@"http://flv2.bn.netease.com/vi ...

  3. C++实现简单学生管理系统

    在网上看到的一个C++的小项目,我自己码了一遍,然后记录下我的理解以及像我这种菜鸟在整个过程中产生的问题. 我将我知道的尽可能详细的写下来,如有错误请联系我哈,QQ:920209178. 原文地址:h ...

  4. Python 配置 selenium 模拟浏览器环境,带下载链接

    使用浏览器渲染引擎.直接用浏览器在显示网页时解析HTML,应用CSS样式并执行JavaScript的语句. 这方法在爬虫过程中会打开一个浏览器,加载该网页,自动操作浏览器浏览各个网页,顺便把数据抓下来 ...

  5. Eclipse上传新项目到GitLab

    E&T: Eclipse; GitLab; GitLab和GitHub一样属于第三方基于Git开发的作品,免费且开源(https://github.com/gitlabhq/gitlabhq  ...

  6. node中间件概念

    中间件就是请求req和响应res之间的一个应用,请求浏览器向服务器发送一个请求后,服务器直接通过request定位属性的方式得到通过request携带过去的数据,就是用户输入的数据和浏览器本身的数据信 ...

  7. C#知识点汇总

    核心技术课程 编程基础强化练习.面向过程编程(变量.if.for.while.函数.类型转换.枚举 .数组.重载.值类型.引用类型.ref.out.字符串).面向对象编程(类.继承 .接口.异常.索引 ...

  8. AutoCompleteExtender 使用示例

    绑定 KeyValuePair,网上很多例子,没有找到绑定键值对的,msdn上有例子,备忘一下. using FirstElite.Verify.Entity; using System; using ...

  9. 测试CentOS-7-x86_64-Minimal-1708.iso这种光盘安装效果

    在dvd1光盘安装选择mininal时有292个包 [root@localhost ~]# rpm -qa|wc -l 292 [root@localhost ~]# 测试下使用mininal的iso ...

  10. Python 标准库笔记(1) — String模块

    原文出处: j_hao104 String模块包含大量实用常量和类,以及一些过时的遗留功能,并还可用作字符串操作. 1. 常用方法 常用方法 描述 str.capitalize() 把字符串的首字母大 ...