隨筆-19  評論-5  文章-3  trackbacks-0
          (11)復制內容到剪切板
              function doCopy(obj) {
                  obj.select();
                  js = obj.createTextRange();
                  js.execCommand("Copy");
              }

          (12)特殊容器,放啥都行,可以建個test.html看看效果
              <button><iframe src="
          (13)交換節點
              <table width=200 height=200 border >
                  <tr><td id=c1>CELL_1</td></tr>
                  <tr><td id=c2>CELL_2</td></tr>
              </table>
              <br>
              <input type="button" value="swap cell" onclick="c1.swapNode(c2)">

          (14)刪除節點
              <table width=200 height=200 border >
                  <tr id="trall" >
                      <td id="c1" >CELL_1</td>
                      <td id="c2" >CELL_2</td>
                  </tr>
              </table>
              <br>
              <input type="button" value="del cell" onclick="c2.removeNode()" >

          會繼續補充,也請大家把自己掌握的貼出來共享。。。


          天天學習,好好向上——


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           



          主站蜘蛛池模板: 邻水| 荃湾区| 含山县| 西昌市| 泸定县| 远安县| 安康市| 龙井市| 平果县| 乐东| 繁峙县| 红安县| 卢氏县| 聂荣县| 日土县| 百色市| 陕西省| 沙坪坝区| 芜湖市| 龙井市| 舟曲县| 千阳县| 辰溪县| 青神县| 缙云县| 方正县| 道真| 梅州市| 四平市| 沅陵县| 疏勒县| 晋江市| 海原县| 巢湖市| 台江县| 盐山县| 金坛市| 长沙市| 仁化县| 广汉市| 巴中市|