<input onclick="document.all.WebBrowser.ExecWB(1,1)" type="button" value="打開" name="Button1">
<input onclick="document.all.WebBrowser.ExecWB(4,1)" type="button" value="另存為" name="Button2">
<input onclick="document.all.WebBrowser.ExecWB(10,1)" type="button" value="屬性" name="Button3">
<input onclick="document.all.WebBrowser.ExecWB(6,1)" type="button" value="打印" name="Button">
<input onclick="document.all.WebBrowser.ExecWB(8,1)" type="button" value="頁面設置" name="Button4">
<input onclick="window.location.reload()" type="button" value="刷新" name="refresh">
<input onClick="window.external.ImportExportFavorites(true,'');" type="button" value="導入收藏夾" name="Button5">
<input onClick="window.external.ImportExportFavorites(false,'');" type="button" value="導出收藏夾" name="Button32">
<input onClick="window.external.AddFavorite(location.href, document.title)" type="button" value="加入收夾"name="Button22">
<input onClick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type="button" value="整理收藏夾" name="Submit2">
<input onclick='window.location="view-source:" + window.location.href' type="button" value="查看源文件" name="Button7">
<input onClick="window.external.ShowBrowserUI('LanguageDialog', null)" type="button" value="語言設置" name="Button6">
<input onClick="document.execCommand('Cut')" type="button" value="剪切">
<input onClick="document.execCommand('Copy')" type="button" value="拷貝">
<input onClick="document.execCommand('Paste')" type="button" value="粘貼">
<input onClick="document.execCommand('Undo')" type="button" value="撤消">
<input onClick="document.execCommand('Delete')" type="button" value="刪除">
<input onClick="document.execCommand('Bold')" type="button" value="黑體">
<input onClick="document.execCommand('Italic')" type="button" value="斜體">
<input onClick="document.execCommand('Underline')" type="button" value="下劃線">
<input onClick="document.execCommand('stop')" type="button" value="停止">
<input onClick="document.execCommand('SaveAs')" type="button" value="保存">
<input onClick="document.execCommand('Saveas',false,'c:\\Autorun.inf')" type="button" value="另存為">
<input onClick="document.execCommand('FontName',false,fn)" type="button" value="字體">
<input onClick="document.execCommand('FontSize',false,fs)" type="button" value="字體大小">
<input onClick="document.execCommand('refresh',false,0)" type="button" value="刷新">
<input onclick="window.location.reload()" type="button" value="刷新">
<input onclick="history.go(1)" type="button" value="前進">
<input onclick="history.go(-1)" type="button" value="后退">
<input onclick="history.forward()" type="button" value="前進">
<input onclick="history.back()" type="button" value="后退">
<input type="button" value="彈出固定窗口" onClick="javascript:window.open('#','','scrollbars=yes,width=600,height=200')" >
<input type="button" value="沒有提示關閉" onclick="window.opener=null;window.close();" />
<input type="button" value="點擊進入另一頁面" onclick="window.location.href=''" />
<input type="button" value="返回上一頁" onclick="javascript:history.go(-1);" />
jsp-button onclick事件匯總
最后編輯于 :
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。
- 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人,你說我怎么就攤上這事。” “怎么了?”我有些...
- 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發上,一...
- 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側響起,我...
推薦閱讀更多精彩內容
- 基礎知識: 1.本篇文章就不分析晦澀難懂的源碼了(加上源碼后文章內容太長,建議有耐心的讀者自己查看源碼來驗證文章的...
- 監聽事件實現的方式: 1、匿名內部類的實現2、獨立類的實現3、接口方式實現 一、匿名內部類 通過匿名內部類,直接在...