input按钮的事件处理大全

所属分类: 网络编程 / JavaScript 阅读数: 285
收藏 0 赞 0 分享
1.<INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1>
2.<INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2>
3.<INPUT onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性 name=Button3>
4.<INPUT onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印 name=Button>
5.<INPUT onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置 name=Button4>
6.<INPUT onclick=window.location.reload() type=button value=刷新 name=refresh>
7.<INPUT onclick="window.external.ImportExportFavorites(true,'');" type=button value=导入收藏夹 name=Button5>
8.<INPUT onclick="window.external.ImportExportFavorites(false,'');" type=button value=导出收藏夹 name=Button32>
9.<INPUT onclick="window.external.AddFavorite(location.href, document.title)" type=button value=加入收藏夹 name=Button22>
10.<INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹 name=Submit2>
11.<INPUT onclick='window.location="view-source:" + window.location.href' type=button value=查看源文件 name=Button7>
12.<INPUT onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=语言设置 name=Button6>
13.<INPUT onclick="document.execCommand('Cut')" type=button value=剪切>
14.<INPUT onclick="document.execCommand('Copy')" type=button value=拷贝>
15.<INPUT onclick="document.execCommand('Paste')" type=button value=粘贴>
16.<INPUT onclick="document.execCommand('Undo')" type=button value=撤消>
17.<INPUT onclick="document.execCommand('Delete')" type=button value=删除>
18.<INPUT onclick="document.execCommand('Bold')" type=button value=黑体>
19.<INPUT onclick="document.execCommand('Italic')" type=button value=斜体>
20.<INPUT onclick="document.execCommand('Underline')" type=button value=下划线>
21.<INPUT onclick="document.execCommand('stop')" type=button value=停止>
22.<INPUT onclick="document.execCommand('SaveAs')" type=button value=保存>
23.<INPUT onclick="document.execCommand('Saveas',false,'c:\\test.htm')" type=button value=另存为>
24.<INPUT onclick="document.execCommand('FontName',false,fn)" type=button value=字体>
25.<INPUT onclick="document.execCommand('FontSize',false,fs)" type=button value=字体大小>
26.<INPUT onclick="document.execCommand('refresh',false,0)" type=button value=刷新>
27.<INPUT onclick=window.location.reload() type=button value=刷新>
28.<INPUT onclick=history.go(1) type=button value=前进>
29.<INPUT onclick=history.go(-1) type=button value=后退>
30.<INPUT onclick=history.forward() type=button value=前进>
31.<INPUT onclick=history.back() type=button value=后退>
32.<INPUT onclick='window.external.ImportExportFavorites(true,"http://localhost";);' type=button value=导入收藏夹>
33.<INPUT onclick='window.external.ImportExportFavorites(false,"http://localhost";);' type=button value=导出收藏夹>
34.<INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹>
35.<INPUT onclick="window.location = 'view-source:'+ window.location.href" type=button value=查看源文件>
36.<INPUT onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=语言设置>
37.<INPUT onclick="window.external.AddFavorite('https://www.jb51.net', 十万个为什么)" type=button value=加入收藏夹>
38.<INPUT onclick="window.external.addChannel('https://www.jb51.net')" type=button value=加入到频道>
39.<INPUT onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('https://www.jb51.net/')" type=button value=设成主页>
更多精彩内容其他人还在看

基于jquery封装的一个js分页

基于jquery封装的一个js分页代码,需要的朋友可以参考下。
收藏 0 赞 0 分享

关于js datetime的那点事

关于js datetime的一些使用经验分享,想要了解datetime日期操作的朋友可以参考下。
收藏 0 赞 0 分享

js 关于=+与+=日期函数使用说明(赋值运算符)

js 关于=+与+=日期函数使用说明(赋值运算符),可以看下,就是一些运算符的使用,看哪个更适合你。
收藏 0 赞 0 分享

JS 操作符整理[推荐收藏]

JS 操作符主要包括算术运算符,赋值运算符,比较(关系)运算符,逻辑运算符,串符(连接作用),条件运算符等
收藏 0 赞 0 分享

让html的text输入框只能输入数字和1个小数点(0-59之间可改)

今天有同事需要这个功能,主要是限制用户输入不符合规范的数字与小数点导致不好计算价格问题,特整理了下面的代码,需要的朋友可以参考下。
收藏 0 赞 0 分享

Jquery 获取checkbox的checked问题

这个郁闷了,今天写这个功能的时候发现了问题,上网找了好多资料对照,更加纠结
收藏 0 赞 0 分享

jQuery EasyUI API 中文文档 - DataGrid数据表格

jQuery EasyUI API 中文文档 - DataGrid数据表格使用说明,需要的朋友可以参考下。
收藏 0 赞 0 分享

jQuery EasyUI API 中文文档 - PropertyGrid属性表格

jQuery EasyUI API 中文文档 - PropertyGrid属性表格使用介绍,需要的朋友可以参考下。
收藏 0 赞 0 分享

20款效果非常棒的 jQuery 插件小结分享

这篇文章向大家推荐20款效果非常棒的 jQuery 插件。jQuery 是一个非常优秀的JavaScript库,它简化了 HTML 文档遍历,事件处理,动画以及 Ajax 交互,同时也改变了很多人编写 JavaScript 代码的方式
收藏 0 赞 0 分享

基于Jquery插件开发之图片放大镜效果(仿淘宝)

公司某个网站,需要实现图片预览效果,并能像淘宝一样实现局部分大,使用jquery的朋友可以参考下。
收藏 0 赞 0 分享
查看更多