Ä÷º¼Ç¿¡ Æ÷ÇԵǾî ÀÖ´Â °³Ã¼µéÀÇ °¹¼ö¸¦ ¼³Á¤Çϰųª ¹ÝȯÇÑ´Ù.

Àμö
: (¼Ó¼º Á¤¼ö°ª)
¼Ó¼º°ªÀº Ä÷º¼Ç¿¡ Æ÷ÇԵǾî ÀÖ´Â °³Ã¼ÀÇ °¹¼ö¸¦ ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.

comment, pages select, window¿¡¼­´Â ÀбâÀü¿ëÀÌ°í,
´Ù¸¥ ¸ðµç °³Ã¼¿¡¼­´Â Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Ư±â

IE6ºÎÅÍ comment °³Ã¼¿¡µµ Àû¿ëµÈ´Ù.

window.length ¼Ó¼ºÀº À©µµ¿ì °³Ã¼¿¡ Æ÷ÇԵǾî ÀÖ´Â frameµéÀÇ °¹¼ö¸¦ ¹ÝȯÇÑ´Ù.

comment.length ¼Ó¼ºÀº °³Ã¼¿¡ Æ÷ÇԵǾî ÀÖ´Â ±ÛÀÚ¼ö¸¦ ¹ÝȯÇÑ´Ù.

form.length ¼Ó¼º¼­¿¡´Â input type=image ¿¤·¹¸àÆ®¸¦ Á¦¿ÜÇÑ´Ù. form°³Ã¼ÀÇ ¸ðµç ¿¤·¹¸àÆ®¸¦ ÂüÁ¶Çϱâ À§Çؼ­´Â children Ä÷º¼ÇÀ» »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.

Window CE¿¡¼­¸¸Àº ÀÌ Ä÷º¼ÇÀº Ç×»ó ºó°ªÀÌ´Ù.

Ç¥ÁØ

ÀÌ ¼Ó¼ºÀº (¿µ¾î)DOM Level 1(Document Object Model Level 1)¿¡¼­ Á¤ÀǵǾú´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE

body °³Ã¼ÀÇ leftMargin ¼Ó¼º ¿¹Á¦

<SCRIPT>
str='document.all.length='+document.all.length+'<BR>';
str+='document.anchors.length='+document.anchors.length+'<BR>';
str+='document.images.length='+document.images.length+'<BR>';
str+='top.window.length='+top.window.length+'<BR>';
str+='document.body.children.length='+document.body.children.length+'<BR>';
document.write(str);
</SCRIPT>