像这样http://www.csdn.net/Expert/topic/480/480034.shtm对table的操作那里找?

北极海hein 2002-01-16 10:08:01
像老况weidegong(weidegong)的script是用什么脚本编辑器来写才能方便找到操作table的insertRow,deleteRow,insertCell等那些方法。我的目的是来知道更多有关对table操作的方法及属性,并找到一个更好的脚本编辑器
...全文
130 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
whiteclude 2002-01-24
  • 打赏
  • 举报
回复
http://www.w3.org/TR/WD-DOM/level-one-html-971209.html在这里有你要的东西
weidegong 2002-01-23
  • 打赏
  • 举报
回复
找到了也告诉我
abent 2002-01-18
  • 打赏
  • 举报
回复
手头上放一个MSDN Library,样样都搞定啦!不要过分依赖于某种编辑器提供的功能,记在脑子中最方便,去做客服,打开就写,爽啦!推荐editplus,能稍微彩显一下就可以了!
abent 2002-01-18
  • 打赏
  • 举报
回复
手头上放一个MSDN Library,样样都搞定啦!不要过分依赖于某种编辑器提供的功能,记在脑子中最方便,去做客服,打开就写,爽啦!推荐editplus,能稍微彩显一下就可以了!
vincentmax 2002-01-17
  • 打赏
  • 举报
回复
哎,还是大家把分给摊了算了吧
ohno 2002-01-16
  • 打赏
  • 举报
回复
一个english帮助
我懒着看了
你自己了解一下吧
有用ooh……
ohno 2002-01-16
  • 打赏
  • 举报
回复
createCaption
The createCaption method can be used to create a <CAPTION> element for the referenced <TABLE> element. If one already exists, then the method returns a pointer to it. For example:

elCaption=document.all("tblExample").createCaption()
would create and empty <CAPTION> element for the <TABLE> element referenced by ...all("tblExample"). This new <CAPTION> element can then be manipulated using the various methods and properties of the <CAPTION> element (see that element for details).

createTFoot
The createTFoot method can be used to create a <TFOOT> element for the referenced <TABLE> element. If one already exists, then the method returns a pointer to it. For example:

elTFoot=document.all("tblExample").createTFoot()
would create and empty <TFOOT> element for the <TABLE> element referenced by ...all("tblExample"). This new <TFOOT> element can then be manipulated using the various methods and properties of the <TFOOT> element (see that element for details).

createTHead
The createTHead method can be used to create a <THEAD> element for the referenced <TABLE> element. If one already exists, then the method returns a pointer to it. For example:

elTHead=document.all("tblExample").createTHead()
would create and empty <THEAD> element for the <TABLE> element referenced by ...all("tblExample"). This new <THEAD> element can then be manipulated using the various methods and properties of the <THEAD> element (see that element for details).

deleteCaption
The deleteCaption method can be used to delete an existing <CAPTION> element for the referenced <TABLE> element (either one that is there in the document source, or one created with the createCaption method. For example:

document.all("tblExample").deleteCaption()
deletes the existing (or created) <CAPTION> element for the <TABLE> element referenced by ...all("tblExample").

deleteRow
The deleteRow method deletes the row referenced by the index argument for the referenced <TABLE> element, also removing it from the Rows Collection for the <TABLE> element. Note that when using the deleteRow method for the <TABLE> element, the rowIndex property of the <TR> element to be deleted must be used. For example:

document.all("tblExample").deleteRow(1)
would delete the second <TR> element contained in the <TABLE> element, whether it's in a <THEAD>, <TBODY>, or <TFOOT> section of the <TABLE>

deleteTFoot
The deleteTFoot method can be used to delete an existing <TFOOT> element for the referenced <TABLE> element (either one that is there in the document source, or one created with the createTFoot method. For example:

document.all("tblExample").deleteTFoot()
deletes the existing (or created) <TFOOT> element for the <TABLE> element referenced by ...all("tblExample").

deleteTHead
The deleteTHead method can be used to delete an existing <THEAD> element for the referenced <TABLE> element (either one that is there in the document source, or one created with the createTHead method. For example:

document.all("tblExample").deleteTHead()
deletes the existing (or created) <THEAD> element for the <TABLE> element referenced by ...all("tblExample").

insertRow
The insertRow method inserts a new <TR> element into the referenced <TABLE> element. It can take an optional index argument which should specify where in the <TABLE> the new row is to be inserted. Note that inserting a new row into a <TABLE> element also inserts it into the Rows Collection for the <TABLE> element. For example:

rowNew=document.all("tblExample").insertRow(3)
inserts a new fourth row into the main <TABLE> element, which may impact the Rows Collection for the <THEAD>, <TBODY>, or <TFOOT> elements, depending on the number of rows in each section.
cpplus 2002-01-16
  • 打赏
  • 举报
回复
我也不是很明白~

vincentmax 2002-01-16
  • 打赏
  • 举报
回复
我不知道你在说什么哎,帮不上
tingningpower 2002-01-16
  • 打赏
  • 举报
回复
VS.net
msdn.
lanying 2002-01-16
  • 打赏
  • 举报
回复
用Visual InterDev

87,996

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧