html 常用button事件
<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事件的更多相关文章
- 关于SWT/JFace中其他常用的事件
1.addSelectionListener:这个监听器最常用. 这个addSelectionListener是一个方法,addSelectionListener(SelectionListener ...
- JavaScript中常用的事件
.onclick事件 点击事件(onclick并不是js中的方法,onclick只是浏览器提供js的一个dom接口,让js可以操作dom,所以onclick大小写都是没问题的,比如HTML代码就不用区 ...
- Android实现Button事件的处理
Android实现Button事件的处理 开发工具:Andorid Studio 1.3 运行环境:Android 4.4 KitKat 代码实现 首先是最基本的线性布局,给每个控件设立id值,以供代 ...
- jQuery里面的常用的事件和基础动画的实现
一:了解jquery里面常用的事件 二:了解基础动画的实现 1:加载DOM 在JavaScript中使用window.onload事件作为窗体加载事件(它在页面所有数据加载完成之后才会执行) 在jQu ...
- jQuery(二)button事件改变标签值
button事件改变标签值 例子一: <html> <head> <script type="text/javascript" src="/ ...
- Android开发之Button事件实现方法的总结
下面介绍Button事件实现的两种方法 main.xml <?xml version="1.0" encoding="utf-8"?> <Li ...
- lua 中处理cocos2dx 的button 事件
lua 中处理cocos2dx 的button 事件 2014-05-08 09:44:32| 分类: lua |举报 |字号 订阅 1.引入这个类:require "GuiConst ...
- flex中Button事件中的e.target
关于flex中的Button事件中的e.target. 今天想在事件中调用模块中的对象通过e.target获取单击的这个Button对象,但是可能是使用var btn:Button = e.targe ...
- NGUI3.x Button事件
代码调用事件 UI搭建 1.首先创建一个Button,和一个的GameObeject命名为GUIClikEvent 2.方法一:创建一个NGUIClickTest.cs,绑定在Button上 Clic ...
随机推荐
- 百战程序员——Spring框架
什么是容器,我们学过了哪些容器,Spring与我们之前学习的容器有哪些异同点? 容器可以管理对象的生命周期.对象与对象之间的依赖关系,您可以使用一个配置文件(通常是XML),在上面定义好对象的名称.如 ...
- Golang安装与环境的配置
(一) 不需FQ的情况 打开https://studygolang.com/ 下载相应的系统安装包. (二) 安装与环境配置 linux: 解压到指定目录: sudo tar zxvf [安装包的下载 ...
- ES6的一些知识学习
一.基础 ES6 - 类: class A{ constructor(name,color){ this.name = name; this.color = color; } toString(){ ...
- 前后端数据交互处理基于原生JS模板引擎开发
json数据错误处理,把json文件数据复制到----> https://www.bejson.com/ 在线解析json 这样能直观的了解到是否是json数据写错,在控制台打断点,那里错误打那 ...
- 详解Vue 非父子组件通信方法(非Vuex)
假设 bb 组件里面有个按钮,点击按钮,把 123 传递给 aa 组件 // 根组件(this.$root) new Vue({ el: '#app', router, render: h => ...
- How To Add Custom Build Steps and Commands To setup.py
转自:https://jichu4n.com/posts/how-to-add-custom-build-steps-and-commands-to-setuppy/ A setup.py scrip ...
- JavaWeb之搭建自己的MVC框架
https://blog.csdn.net/anita9999/article/details/83378111 自己写一个mvc框架吧(一) https://www.cnblogs.com/heba ...
- java8_api_正则表达式
正则表达式 什么是正则表达式 使用String类中的replaceAll方法 使用Pattern类编译正则表达式 使用Matcher类匹配正则表达式 什么是正则表达式 ...
- 测试CentOS-7-x86_64-Minimal-1708.iso这种光盘安装效果
在dvd1光盘安装选择mininal时有292个包 [root@localhost ~]# rpm -qa|wc -l 292 [root@localhost ~]# 测试下使用mininal的iso ...
- 使用composer遇到的坑
平台:Windows下cmd命令行內 問題 [Composer\Downloader\TransportException] The "https://packagist.phpcompos ...