动态创建表格

来源:互联网 发布:js 原生bind方法 编辑:程序博客网 时间:2024/06/05 01:59
  1. 方式一
  1. createElement()
  1. 方式二
  1. Rows:只读,table和textarea能用
  2. insertRow():只有table能调用
  3. deleteRow():只有table能调用
  4. cells:只读,table和textarea能用
  5. insertCell():只有tr能调用
  6. deleteCell():只有tr能调用
原创粉丝点击