風之力

          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 風之力 閱讀(910) 評論(0)  編輯  收藏 所屬分類: javaScript
          主站蜘蛛池模板: 乌鲁木齐市| 恭城| 安新县| 建阳市| 芮城县| 新蔡县| 从江县| 天峨县| 江城| 三江| 会宁县| 渭源县| 古丈县| 门头沟区| 祥云县| 会昌县| 定兴县| 佛山市| 濉溪县| 雷州市| 湟中县| 德安县| 宁乡县| 历史| 定陶县| 清新县| 理塘县| 玛纳斯县| 萍乡市| 绥江县| 都兰县| 仁寿县| 平昌县| 邵武市| 平顺县| 固原市| 钟祥市| 通化市| 务川| 重庆市| 宜兴市|