DOM:document.anchors
MDC
목차 |
[편집] Summary
anchors document 내의 모든 anchor들의 목록을 리턴합니다.
[편집] Syntax
nodeList = document.anchors
[편집] Example
if ( document.anchors.length >= 5 ) {
dump("dump found too many anchors");
window.location = "http://www.google.com";
}
[편집] Notes
뒤로 가기 호환성(backwards compatibility)을 제공하기 위해, 리턴된 anchor들의 목록은 name 속성(attribute)으로 생성된 anchors들만 포함하고 id 속성(attribute)으로 생성된 것들은 포함하지 않습니다.