<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. python 10

    不想写了,用一下强大的copy功能吧!! (转自:我的同桌)

  2. JavaScript 之 预编译 作用域,作用域链

    第一次写博客,本来是学习jQuery遇到闭包问题,发现并没有理解闭包,发现闭包牵扯的知识点太多.复习了一遍(发现自己该记住的全忘了)写在博客里,自己也是小白,希望大神们指点迷津,必将感激不尽. 我们知 ...

  3. 第二次实验:CC2530平台上GPIO组件的TinyOS编程

    实验二 CC2530平台上GPIO组件的TinyOS编程 实验目的: 加深和巩固学生对于TinyOS编程方法的理解和掌握 让学生理解和掌握CC2530的GPIO及外部中断,及其TinyOS编程方法 学 ...

  4. Git与Github的连接与使用

    下面继续,使用git 将项目上传到GitHub上 首先要有GitHub账号,这就不用说了,没有的先注册,地址:https://github.com 没有仓库的话,先新创建一个仓库 填写新仓库名称,备注 ...

  5. 初始化HTML样式(转载)

    方式一 ;; } body { background:#fff; color:#555; font-size:14px; font-family: Verdana, Arial, Helvetica, ...

  6. docker 网络 路由

    通过在Docker宿主机上添加静态路由实现跨宿主机通信 模拟环境 主机1(192.168.58.144) 设置docker0 网关 (172.17.0.1/16)                主机2 ...

  7. bond-team

    nmcli con add type team con-name team0 ifname team0 config '{"runner":{"name": & ...

  8. 关于jeesite的陷阱需要注意

    jeesite,其框架主要为: 后端 核心框架:Spring Framework 4.0 安全框架:Apache Shiro 1.2 视图框架:Spring MVC 4.0 服务端验证:Hiberna ...

  9. centos7系统优化定制

    #!/bin/bash #author junxi by #this script is only for CentOS 7.x #check the OS platform=`uname -i` i ...

  10. mysql用户管理及授权

    以mariadb5.5版本为例 新建用户 登录mariadb # mysql -uroot -p Enter password: Welcome to the MariaDB monitor. Com ...