DOM

DOM

Draft
  • account_tree
  • bug_report

ObjectHTMLCollection

설명

요소를 리스트 자료 구조로 가지고 있는 유사 배열 객체

하위 트리 탐색

  • Constructor

    직접 생성할 수 없고 document 객체의 getElementsByTagName(), getElementsByClassName(), getElementsByName() 메소드에 의해서 생성된다.

  • [[Prototype]]

    • Methods

      • item()

        인수로 주어진 인덱스에 위치한 요소를 반환한다.

    • Properties

      • length

        item(항목)의 갯수를 가져올 수 있다.

지원 웹브라우저