風之力

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            19 Posts :: 2 Stories :: 18 Comments :: 0 Trackbacks
          <input type=button value=剪切 onclick=document.execCommand('Cut')>
          <input type=button value=拷貝 onclick=document.execCommand('Copy')>
          <input type=button value=粘貼 onclick=document.execCommand('Paste')>
          <input type=button value=撤消 onclick=document.execCommand('Undo')>
          <input type=button value=重做 onclick=document.execCommand('Redo') id=button2 name=button2>
          <input>
          <input type=button value=刪除 onclick=document.execCommand('Delete')>
          <input type=button value=黑體 onclick=document.execCommand('Bold')>
          <input type=button value=斜體 onclick=document.execCommand('Italic')>
          <input type=button value=下劃線 onclick=document.execCommand('Underline')>
          <input type=button value=停止 onclick=document.execCommand('stop')>
          <input type=button value=保存 onclick=document.execCommand('SaveAs')>
          <input type=button value=另存為 onclick=document.execCommand('Saveas',false,'c:\\test.htm')>
          <input type=button value=字體 onclick=document.execCommand('FontName',false,fn)>
          <input type=button value=字體大小 onclick=document.execCommand('FontSize',false,fs)>
          <input type=button value=刷新 onclick=document.execCommand('refresh',false,0)>
          只可在ie使用......
          posted on 2006-09-14 11:05 風之力 閱讀(912) 評論(0)  編輯  收藏 所屬分類: javaScript
          主站蜘蛛池模板: 巴楚县| 天镇县| 泰和县| 孝昌县| 呼图壁县| 枞阳县| 方城县| 定安县| 临武县| 日照市| 句容市| 湖口县| 海兴县| 新营市| 嘉禾县| 大名县| 石阡县| 兴隆县| 沙雅县| 简阳市| 古交市| 金溪县| 尉犁县| 萍乡市| 独山县| 游戏| 利川市| 潼关县| 卓资县| 台州市| 桂阳县| 汤阴县| 澄城县| 武定县| 财经| 江口县| 阳西县| 米易县| 乐陵市| 塘沽区| 福贡县|