button onclick事件彙總,希望能給大家帶來一些幫助!

<input οnclick="document.all.WebBrowser.ExecWB(1,1)" type="button" value="打開" name="Button1">
<input οnclick="document.all.WebBrowser.ExecWB(4,1)" type="button" value="另存爲" name="Button2">
<input οnclick="document.all.WebBrowser.ExecWB(10,1)" type="button" value="屬性" name="Button3">
<input οnclick="document.all.WebBrowser.ExecWB(6,1)" type="button" value="打印" name="Button">
<input οnclick="document.all.WebBrowser.ExecWB(8,1)" type="button" value="頁面設置" name="Button4">
<input οnclick="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 οnclick='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 οnclick="window.location.reload()" type="button" value="刷新">
<input οnclick="history.go(1)" type="button" value="前進">
<input οnclick="history.go(-1)" type="button" value="後退">
<input οnclick="history.forward()" type="button" value="前進">
<input οnclick="history.back()" type="button" value="後退">
<input type="button" value="彈出固定窗口" onClick="javascript:window.open('#','','scrollbars=yes,width=600,height=200')" > 
<input type="button" value="沒有提示關閉" οnclick="window.opener=null;window.close();" />
<input type="button" value="點擊進入另一頁面" οnclick="window.location.href=''" />
<input type="button" value="返回上一頁" οnclick="javascript:history.go(-1);" />

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章