查看代码 
1 interface HTMLCollection
2 {
3 //包含结点的个数
4 readonly attribute unsigned long length;
5 //根据指定的索引index,返回相应的结点
6 //HTMLCollection中的结点呈树形结构,索引值index是结点深度优先方式排序的序号
7 Node item (in unsigned long index);
8 //根据结点的name或者id的属性返回相应的结点
9 Node namedItem (in DOMString name);
10 }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-10-23
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-01-16
相关资源
相似解决方案