jsp頁面的onclick事件

來源:互聯網
上載者:User

<input onclick="document.all.WebBrowser.ExecWB(1,1)" type="button" value="開啟" name="Button1">  

02 <input onclick="document.all.WebBrowser.ExecWB(4,1)" type="button" value="另存新檔" name="Button2">  

03 <input onclick="document.all.WebBrowser.ExecWB(10,1)" type="button" value="屬性" name="Button3">  

04 <input onclick="document.all.WebBrowser.ExecWB(6,1)" type="button" value="列印" name="Button">  

05 <input onclick="document.all.WebBrowser.ExecWB(8,1)" type="button" value="版面設定" name="Button4">  

06 <input onclick="window.location.reload()" type="button" value="重新整理" name="refresh">  

07 <input onClick="window.external.ImportExportFavorites(true,'');" type="button" value="匯入收藏夾" name="Button5">  

08 <input onClick="window.external.ImportExportFavorites(false,'');" type="button" value="匯出收藏夾" name="Button32">  

09 <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:\\Autorun.inf')" 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 type="button" value="彈出固定視窗" onClick="javascript:window.open('#','','scrollbars=yes,width=600,height=200')" >   

33 <input type="button" value="沒有提示關閉" onclick="window.opener=null;window.close();" />  

34 <input type="button" value="點擊進入另一頁面" onclick="window.location.href=''" />  

35 <input type="button" value="返回上一頁" onclick="javascript:history.go(-1);" /> 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.