爱问知识人 爱问教育 医院库

有一行表格,点击按钮后,如何再添加一行呀

首页

有一行表格,点击按钮后,如何再添加一行呀


        

提交回答
好评回答
  • 2005-11-28 19:24:00
      <script> var gzcontent="";function addTable(){var tableID= l。loop;var oRow= sertRow( ws。length); var oCell= sertCell(oRow。
      cells。length); nerHTML=gzcontent;}function initContent(){gzcontent= l。tb1。
      outerHTML;}</script><body onload="initContent()"><table border = 1 id="loop"><tr><td><table id="tb1"> <tr> <td>username:</td><td><input type="text" value="dinghb"></td> </tr> <tr> <td>password</td><td><input type="password" value="dinghb"></td> </tr> <tr> <td colspan="2" id="tdid0"> <input type="button" value="add table" onclick="addTable()"> </td> </tr> </table></td></tr></table></body>。

    c***

    2005-11-28 19:24:00

其他答案

类似问题

换一换

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):