html无素input的onclick事件大全

来源:互联网 发布:网络剧十宗罪疑点 编辑:程序博客网 时间:2024/05/18 19:46
  1. <INPUTonclick=document.all.WebBrowser.ExecWB(1,1)type=buttonvalue=打开 name=Button1>  
  2. <INPUT onclick=document.all.WebBrowser.ExecWB(4,1)type=buttonvalue=另存为 name=Button2>  
  3. <INPUTonclick=document.all.WebBrowser.ExecWB(10,1)type=buttonvalue=属性 name=Button3>  
  4. <INPUT onclick=document.all.WebBrowser.ExecWB(6,1)type=buttonvalue=打印 name=Button>  
  5. <INPUTonclick=document.all.WebBrowser.ExecWB(8,1)type=buttonvalue=页面设置 name=Button4>  
  6. <INPUT onclick=window.location.reload()type=buttonvalue=刷新 name=refresh>  
  7. <INPUTonclick="window.external.ImportExportFavorites(true,'');"type=buttonvalue=导入收藏夹 name=Button5>  
  8. <INPUT onclick="window.external.ImportExportFavorites(false,'');"type=buttonvalue=导出收藏夹 name=Button32>  
  9. <INPUTonclick="window.external.AddFavorite(location.href, document.title)"type=buttonvalue=加入收藏夹 name=Button22>  
  10. <INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)"type=buttonvalue=整理收藏夹 name=Submit2>  
  11. <INPUTonclick='window.location="view-source:" + window.location.href'type=buttonvalue=查看源文件 name=Button7>  
  12. <INPUT onclick="window.external.ShowBrowserUI('LanguageDialog', null)"type=buttonvalue=语言设置 name=Button6>  
  13. <INPUTonclick="document.execCommand('Cut')"type=buttonvalue=剪切>  
  14. <INPUT onclick="document.execCommand('Copy')"type=buttonvalue=拷贝>  
  15. <INPUTonclick="document.execCommand('Paste')"type=buttonvalue=粘贴>  
  16. <INPUT onclick="document.execCommand('Undo')"type=buttonvalue=撤消>  
  17. <INPUTonclick="document.execCommand('Delete')"type=buttonvalue=删除>  
  18. <INPUT onclick="document.execCommand('Bold')"type=buttonvalue=黑体>  
  19. <INPUTonclick="document.execCommand('Italic')"type=buttonvalue=斜体>  
  20. <INPUT onclick="document.execCommand('Underline')"type=buttonvalue=下划线>  
  21. <INPUTonclick="document.execCommand('stop')"type=buttonvalue=停止>  
  22. <INPUT onclick="document.execCommand('SaveAs')"type=buttonvalue=保存>  
  23. <INPUTonclick="document.execCommand('Saveas',false,'c://test.htm')"type=buttonvalue=另存为>  
  24. <INPUT onclick="document.execCommand('FontName',false,fn)"type=buttonvalue=字体>  
  25. <INPUTonclick="document.execCommand('FontSize',false,fs)"type=buttonvalue=字体大小>  
  26. <INPUT onclick="document.execCommand('refresh',false,0)"type=buttonvalue=刷新>  
  27. <INPUTonclick=window.location.reload()type=buttonvalue=刷新>  
  28. <INPUT onclick=history.go(1)type=buttonvalue=前进>  
  29. <INPUTonclick=history.go(-1)type=buttonvalue=后退>  
  30. <INPUT onclick=history.forward()type=buttonvalue=前进>  
  31. <INPUTonclick=history.back()type=buttonvalue=后退>  
  32. <INPUT onclick='window.external.ImportExportFavorites(true,"http://localhost";);'type=buttonvalue=导入收藏夹>  
  33. <INPUTonclick='window.external.ImportExportFavorites(false,"http://localhost";);'type=buttonvalue=导出收藏夹>  
  34. <INPUT onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)"type=buttonvalue=整理收藏夹>  
  35. <INPUTonclick="window.location = 'view-source:'+ window.location.href"type=buttonvalue=查看源文件>  
  36. <INPUT onclick="window.external.ShowBrowserUI('LanguageDialog', null)"type=buttonvalue=语言设置>  
  37. <INPUTonclick="window.external.AddFavorite('http://www.jenfy.cn', 十万个为什么)"type=buttonvalue=加入收藏夹>  
  38. <INPUT onclick="window.external.addChannel('http://www.jenfy.cn')"type=buttonvalue=加入到频道>  
  39. <INPUTonclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jenfy.cn/')"type=buttonvalue=设成主页>