最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
to hiller:利用脚本控制表格单元的内容(原创)
时间:2022-06-30 09:40:48 编辑:袖梨 来源:一聚教程网
现在终于找到相关资料,做完了例子这个发现MSDN中也有一个类似的例子,呵呵!!
解释:
rows和cells在Table中分别代表着行和列的集合,在TABLE中的范围限于THEAD, TBODY, TFOOT。
使用方法:obj.rows(index)
obj.cells(index)
其中index是可选的,可以选择一个整数索引也可以选择一个字符串作为索引。
整数索引是基于0开始的,也就是说基和中的第一个元素的下标是0。
字符串索引必须是一个有效的至少存在于页面中的一个具有标示的元素名称。
我不知道翻译的是否正确,下面附上MSDN中的原文:
Optional. An integer or a string specifying the index value of the element to retrieve. Integer indexes are zero-based, meaning the first element in the collection has index 0. A string index is valid only if the string is an identifier of at least one element in the document.
解释:
rows和cells在Table中分别代表着行和列的集合,在TABLE中的范围限于THEAD, TBODY, TFOOT。
使用方法:obj.rows(index)
obj.cells(index)
其中index是可选的,可以选择一个整数索引也可以选择一个字符串作为索引。
整数索引是基于0开始的,也就是说基和中的第一个元素的下标是0。
字符串索引必须是一个有效的至少存在于页面中的一个具有标示的元素名称。
我不知道翻译的是否正确,下面附上MSDN中的原文:
Optional. An integer or a string specifying the index value of the element to retrieve. Integer indexes are zero-based, meaning the first element in the collection has index 0. A string index is valid only if the string is an identifier of at least one element in the document.
相关文章
- 《夜族崛起》铁匠西里尔位置一览 05-17
- 《寓言之地》1.02更新内容一览 05-17
- 《辐射4》steam好评率介绍 05-17
- 《夜族崛起》技能强化珠宝掉落说明 05-17
- 《辐射4》主机控制台介绍 05-17
- 《星露谷物语》海草和绿藻获取方法 05-17