¸ðü select °³Ã¼ ¼Ó¿¡¼­ ¸ð¾çÀ¸·Î Ç®´Ù¿î ¹Ú½º »ç¿ëÀÚ ¼±Åà ÀÔ·ÂÇʵ带 ÂüÁ¶ÇÑ´Ù

Script [propVal=]formObj...propName;
HTML propName="propVal">innerString
Àμö
elementName, elements[n] : (¸ðü select °³Ã¼)

elements ¹è¿­º¯¼öÀÇ ÇØ´ç element°¡ selectÀÇ °æ¿ì¿¡¸¸ ÇØ´çµÈ´Ù.

propertyName : (¼Ó¼º¸í)

¾Æ·¡ ¼Ó¼ºµé ÁßÀÇ ÇϳªÀÌ´Ù.

»ç¿ë

»ç¿ëÀÚ°¡ ¿©·¯°³ÀÇ ¼±ÅÃÀÌ °¡´ÉÇÑ Ç׸ñµé Áß¿¡¼­ ÇÑ°³ ȤÀº ¿©·¯°³ÀÇ Ç׸ñÀ» ¼±ÅÃÇÏ¿© ÀÎÅÍ·¢Æ¼ºê(Interactive)ÇÏ°Ô ¿øÇÏ´Â ±â´ÉÀ» ¼öÇàÇÏ°Ô Çϴµ¥ »ç¿ëµÈ´Ù.

»ý¼º

Option °³Ã¼´Â form °³Ã¼(HTML <FORM> ű×) ¼ÓÀÇ select °³Ã¼(HTML <SELECT> ű×) ¼Ó¿¡¼­ <OPTION> ű׷Π»ý¼ºµÈ´Ù.

<FORM>...<SELECT><OPTION>...</OPTION> <OPTION>...</OPTION>...</SELECT>...</FORM>

¶ÇÇÑ Javascript·Îµµ »ý¼º, Ç׸ñÃß°¡¸¦ ÇÒ ¼ö ÀÖ´Ù.

optionObj=new Option([text[,value[,defaultSelected[,selected]]]])
document.formObj.selectObj.optionObj[3]=new Option('¼±Åà 4','value4',true,true);
document.formObj.selectObj.optionObj[4]=new Option('¼±Åà 5','value5')

»ý¼ºµÈ ¼±ÅÃÇ׸ñÀ» »èÁ¦ÇÒ ¼öµµ ÀÖ´Ù. history.go(0)·Î »õ·Î ·ÎµùÇØ¾ß ¹®¼­¿¡ ¹Ý¿µµÈ´Ù.

document.formObj.selectObj.optionObj[3]=null;
history.go(0);

±¸¼º

ÇÑ°³ÀÇ form °³Ã¼ ¼Ó¿¡¼­ select °³Ã¼¸¦ ¸¸µé°í, form.elements ¹è¿­º¯¼ö¿¡ type ¼Ó¼ºÀÌ select·Î µî·ÏµÈ´Ù.

Option °³Ã¼´Â Á¶»óÀÎ form °³Ã¼¿¡ ¿¤·¹¸àÆ®(elements)ÀÇ ¹è¿­º¯¼ö·Î ÀúÀåµÇ¾î ÀÖ´Â ¸ðü select °³Ã¼ÀÇ Option °³Ã¼µéÀÇ ¹è¿­º¯¼ö(options)¸¦ ±¸¼ºÇÏ°í select.optionsÀ¸·Î È£ÃâµÉ ¼ö ÀÖ´Ù.
(document).forms ¢¡ .forms.selectObj ¢¡ .forms.selectObj.options ¢¡ .forms.selectObj.options[index]
Àμö
ÇØ´ç select °³Ã¼ÀÇ Á¦ÀÏ ¸ÕÀú ³ª¿À´Â ¼±ÅûçÇ×ÀÇ Àμö´Â 0ÀÌ°í ÃÑ ¼±ÅûçÇ×ÀÇ °¹¼ö´Â Á¦ÀÏ Å« Àμö+1ÀÌ ¿øÄ¢ÀÌÁö¸¸ Áß°£¿¡ ºó °³Ã¼µéÀ» °¡Áú ¼ö ÀÖ´Ù. Àμö¿¡ ÀÇÇÑ µ¥ÀÌÅÍ ÀúÀå°ú È£ÃâÀº Array(¹è¿­º¯¼ö)¸¦ Âü°íÇ϶ó.
formObj.selectObj.options[0], formObj.selectObj.options[1], formObj.selectObj.options[2],
..., formObj.selectObj.options[n]

¼±ÅûçÇ×ÀÇ ¼±ÅÃ

Ç׸ñ Áß¿¡¼­ÀÇ ¼±ÅÃÀº ½ºÅ©·ÑÇÏ¿© ÃÊÁ¡À» ÇØ´ç Ç׸ñ¿¡ ÁÖ¸é µÇ´Âµ¥, Javascript·Î ÃʱⰪÀ¸·ÎÀÇ ¼±ÅÃÀº Àμö defaultSelected ¼Ó¼ºÀÌ »ç¿ëµÇ°í, Àμö selected ¼Ó¼ºÀº º¹¼ö ¼±Åÿ¡ »ç¿ëµÈ´Ù.(º¹¼ö¼±ÅÃÀº <SELECT multiple>)


Ư±â

IE5 ÀÌÈÄ, OPTION ¿¤·¹¸àÆ®´Â all Ä÷º¼Ç¿¡ Æ÷ÇԵǾú´Ù. ÀÌÀü ¹öÀü¿¡¼­´Â SELECT ¿¤·¹¸àÆ®¿¡¼­ options Ä÷º¼ÇÀ» ÅëÇؼ­ Á¢¼ÓÇÒ ¼ö ÀÖ´Ù.

OPTION ¿¤·¹¸àÆ®´Â µ¿ÀÏÇÑ À©µµ¿ìÀÇ OPTION ¿¤·¹¸àÆ®µéÀÌ »ý¼ºÇÑ SELECT ¿¤·¹¸àÆ® ¼Ó¿¡¸¸ Ãß°¡ÇÒ ¼ö ÀÖ´Ù.

background-color¿Í color¸¦ Á¦¿ÜÇÏ°í´Â optionÀÇ style °³Ã¼¸¦ ÅëÇÑ ÁöÁ¤Àº ¹«½ÃµÈ´Ù.
SELECT ¿¤·¹¸àÆ®¿¡¼­ ÀüüÀûÀ¸·Î ÁöÁ¤µÈ ½ºÅ¸ÀÏÀº °³º° option¿¡¼­ÀÇ ÁöÁ¤À¸·Î µ¤¾î¾º¿ì±â µÈ´Ù.

ÀÌ °³Ã¼´Â ½ºÅ©¸³Æ®¸¦ Æ÷ÇÔÇÏ¿© IE3.0ºÎÅÍ Àû¿ëµÈ´Ù.

ÀÌ ¿¤·¹¸àÆ®´Â ºí·°¸ðµåÀÌ´Ù.

ÀÌ ¿¤·¹¸àÆ®´Â Á¾·áű׸¦ ÇÊ¿ä·Î ÇÏÁö ¾Ê´Â´Ù.

ÂüÁ¶
multiple

ÀÌ °³Ã¼´Â (¿µ¹®)HTML3.2¿¡¼­ Á¤ÀǵǾú´Ù.


¼³¸íÀ» À§ÇÑ ¿¹Á¦

 
<FORM name="formObj">
<SELECT name="selectObj onchange="showOpt.innerText='selectedIndex='+this.selectedIndex"">
<OPTION name="optionName1" value="option Value 1">¼±ÅûçÇ× 1</option>
<OPTION name="optionName2" value="option Value 2">¼±ÅûçÇ× 2</option>
<OPTION name="optionName3" value="option Value 3" selected class=blue
  style="behavior:url(../public/hilite.htc)" dir=ltr
  lang=ko language=javascript>¼±ÅûçÇ× 3</option>
<OPTION name="optionName4" value="option Value 4">¼±ÅûçÇ× 4</option>
</SELECT>
<SPAN id=showOpt>&nbsp;</SPAN>
</FORM>
<SCRIPT>oObj=formObj.selectObj(2);</SCRIPT>

Ä÷º¼Ç¼³¸í°ú ¿¹Á¦ ÄÚµå°á°úÂü°í
attributes °³Ã¼ÀÇ ¾ÖÆ®¸®ºäÆ®(attribute °³Ã¼)µéÀÇ ¹è¿­º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù.
<SCRIPT>document.write(oObj.attributes.length)</SCRIPT>
behaviorUrns ¿¤·¹¸àÆ®¿¡ ÷ºÎµÈ ºñÇØÀ̹ö(behavior)µéÀ» ÀνÄÇÏ´Â ÁÖ¼Ò(URN) ¹®ÀÚ¿­µéÀÇ ¹è¿­º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù.
<SCRIPT>document.write(oObj.behaviorUrns.length)</SCRIPT>
childNodes °³Ã¼ÀÇ ¹Ù·Î Á¾¼ÓµÈ ÀڽĵéÀÇ ¿¤·¹¸àÆ® °³Ã¼µé°ú TextNode °³Ã¼µéÀÇ ¹è¿­º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù.
<SCRIPT>document.write(oObj.childNodes.length)</SCRIPT>
children °³Ã¼ÀÇ ¹Ù·Î Á¾¼ÓµÈ DHTML °³Ã¼µéÀÎ ÀڽĵéÀÇ ¹è¿­º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù.
<SCRIPT>document.write(oObj.children.length)</SCRIPT>

°³Ã¼¼³¸í°á°ú
currentStyle °øÅë ½ºÅ¸ÀϽ¬Æ®, ÀζóÀÎ ½ºÅ¸ÀÏ HTML ¾ÖÆ®¸®ºäÆ®µîÀ¸·Î ÁöÁ¤ÇÑ °³Ã¼ÀÇ Ä«½ºÄÉÀ̵ù Çü½Ä°ú ½ºÅ¸Àϵé ÂüÁ¶ÇÑ´Ù.
<SCRIPT>document.write(oObj.currentStyle.color)</SCRIPT>
runtimeStyle µ¤¾î ¾º¿öÁø ÃÖÁ¾ °øÅë ½ºÅ¸ÀϽ¬Æ®, ÀζóÀÎ ½ºÅ¸ÀÏ HTML ¾ÖÆ®¸®ºäÆ®µîÀ¸·Î ÁöÁ¤ÇÑ °³Ã¼ÀÇ Ä«½ºÄÉÀ̵ù Çü½Ä°ú ½ºÅ¸Àϵé ÂüÁ¶ÇÑ´Ù.
<BUTTON onclick="oObj.runtimeStyle.color='red'">Àû»öÀ¸·Î</BUTTON>
´ÜÃ߸¦ Ŭ¸¯ÇÏ°í ¿¹Á¦ÀÇ »ö»óÀ» È®ÀÎÇ϶ó.
style °³Ã¼ÀÇ ÇöÀç ¸ðµç °¡´ÉÇÑ ÀζóÀÎ ½ºÅ¸ÀÏ ¼³Á¤µéÀ» ÂüÁ¶ÇÑ´Ù.
<SCRIPT>document.write(oObj.style.cssText.length))</SCRIPT>

begin ¼Ó¼º IE (begin="tVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¸¦ Ç÷¹ÀÌÇϴµ¥ ½ÃÀ۵Ǵ Áö¿¬½Ã°£À» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .begin[=sVal]
ÄÚµå: document.write(oObj.begin); °á°ú:
canHaveChildren ¼Ó¼º IE
¢¡ °³Ã¼°¡ ÀÚ½Ä °³Ã¼µéÀ» °¡Áú ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].canHaveChildren
ÄÚµå: document.write(oObj.canHaveChildren); °á°ú:
canHaveHTML ¼Ó¼º IE
¢¡ °³Ã¼°¡ HTML ű׵éÀ» °¡Áú ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].canHaveHTML
ÄÚµå: document.write(oObj.canHaveHTML); °á°ú:
className ¼Ó¼º IE (class="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ Å¬¶ó½º À̸§À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .className[=sVal]
ÄÚµå: document.write(oObj.className); °á°ú:
clientHeight ¼Ó¼º IE
¢¡ ºí·° °³Ã¼ÀÇ ³ôÀ̸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].clientHeight
ÄÚµå: document.write(oObj.clientHeight); °á°ú:
clientLeft ¼Ó¼º IE
¢¡ offsetLeft ¼Ó¼º°ú ½ÇÁ¦ÀûÀÎ »ç¿ëÀÚ Áö¿ªÀÇ ¿ÞÂÊ ¸ð¼­¸®¿ÍÀÇ °Å¸®¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].clientLeft
ÄÚµå: document.write(oObj.clientLeft); °á°ú:
clientTop ¼Ó¼º IE
¢¡ offsetTop ¼Ó¼º°ú ½ÇÁ¦ÀûÀÎ »ç¿ëÀÚ Áö¿ªÀÇ À§ÂÊ ¸ð¼­¸®¿ÍÀÇ °Å¸®¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].clientTop
ÄÚµå: document.write(oObj.clientTop); °á°ú:
clientWidth ¼Ó¼º IE
¢¡ ºí·° °³Ã¼ÀÇ ³Êºñ¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].clientWidth
ÄÚµå: document.write(oObj.clientWidth); °á°ú:
defaultSelected ¼Ó¼º IE3.02 NS3
¢¡ °³Ã¼°¡ µðÆúÆ®·Î ÃÖÃÊ ¼±ÅõǾú´Â°¡¸¦ ºÎ¿ï(Boolean)°ªÀ¸·Î ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
°³Ã¼°¡ µðÆúÆ®·Î ¼±ÅõǾî ÀÖÀ¸¸é(<OPTION selected>) true¸¦, ¾Æ´Ï¸é false°¡ µÈ´Ù.
¹®¹ý: .defaultSelected[=true|false]
ÄÚµå: optionObj=formObj.selectObj.options;for (i=0;i<obj.length;i++) document.write('['+i+']'+optionObj[i].defaultSelected+' ')
°á°ú:
dir ¼Ó¼º IE (dir="ltr"|"rtl"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ ³»¿ë Àд ¼ø¼­¸¦ ¹®ÀÚ¿­·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .dir[=sVal]
ÄÚµå: document.write(oObj.dir); °á°ú:
disabled ¼Ó¼º IE (disabled[=true|false]> ¾ÖÆ®¸®ºäÆ®)
¢¡ »ç¿ëÀÚ°¡ °³Ã¼¿¡¼­ ÀÛ¾÷ÇÒ ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .disabled[=true|false]
ÄÚµå: document.write(oObj.disabled); °á°ú:
end ¼Ó¼º IE (end="tVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼°¡ ¹Ýº¹ Ç÷¹ÀÌ Áß ÇÑȸ°¡ ¿Ï·áµÇ¾ú´ø°¡, ÀüºÎ ¿Ï·áµÇ¾ú´Â°¡ÀÇ °ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .end[=sVal]
ÄÚµå: document.write(oObj.end); °á°ú:
firstChild ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ childNodes Ä÷º¼Ç¿¡¼­ Á¦ÀÏ ¸ÕÀú ÀÚ½Ä °³Ã¼À» ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].firstChild
ÄÚµå: document.write(oObj.firstChild); °á°ú:
ÄÚµå: if (oObj.firstChild) document.write(oObj.firstChild.nodeName); °á°ú:
¿¹Á¦form(°³Ã¼) ¼Ó¼º IE NS (form="oVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ button °³Ã¼ÀÇ ¸ðü form °³Ã¼ÀÇ ÂüÁ¶¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=] .form
ÄÚµå: document.write(oObj.form.name °á°ú:
ÄÚµå: document.write(oObj.form °á°ú:
hasMedia ¼Ó¼º IE
¢¡ °³Ã¼À» °³Ã¼°¡ HTML+time ¸Þµð¾î ¿¤·¹¸àÆ®Àΰ¡ÀÇ ºÎ¿ï°ªÀ» ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].hasMedia
ÄÚµå: document.write(oObj.hasMedia); °á°ú:
id ¼Ó¼º IE (id=sVal> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¸¦ ´ëÇ¥ÇÏ´Â ÀνÄÀÚ ¹®ÀÚ¿­À» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .id[=sVal]
ÄÚµå: document.write(oObj.id); °á°ú:
index ¼Ó¼º IE3.02 NS2
¢¡ °³Ã¼ÀÇ ¹è¿­º¯¼ö Àε¦½Ì ¹æ½Ä¿¡ µû¶ó index ÇÑ´Ù.
¹®¹ý: .index[=iVal]
ÄÚµå: document.write(formObj.selectObj.options[1].index,' | ',formObj.selectObj.options.selectedIndex) °á°ú:
innerHTML ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ³»¿ë HTMLÀ» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .innerHTML[=sVal]
ÄÚµå: document.write(oObj.innerHTML.length); °á°ú:
innerText ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ³»¿ë ¹®ÀÚ¿­À» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .innerText[=sVal]
ÄÚµå: document.write(oObj.innerText.length); °á°ú:
isContentEditable ¼Ó¼º IE
¢¡ »ç¿ëÀÚ°¡ °³Ã¼ÀÇ ³»¿ëÀ» ÆíÁýÇÒ ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].isContentEditable
ÄÚµå: document.write(oObj.isContentEditable); °á°ú:
isDisabled ¼Ó¼º IE
¢¡ °³Ã¼°¡ ºÒÈ°¼ºÈ­ µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].isDisabled
ÄÚµå: document.write(oObj.isDisabled); °á°ú:
isMultiLine ¼Ó¼º IE
¢¡ °³Ã¼°¡ ¿©·¯ÁÙ·Î µÇ¾îÀִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].isMultiLine
ÄÚµå: document.write(oObj.isMultiLine); °á°ú:
isTextEdit ¼Ó¼º IE
¢¡ °³Ã¼¼Ó¿¡¼­ TextRange °³Ã¼¸¦ »ý¼ºÇÒ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].isTextEdit
ÄÚµå: document.write(oObj.isTextEdit); °á°ú:
label ¼Ó¼º - NS6
¢¡ °³Ã¼ÀÇ labelÀ» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .label[=labelTag]
ÄÚµå: document.write(formObj.selectObj.options[1].label='¼±ÅÃ2¹ø') °á°ú: »ý·«
lang ¼Ó¼º IE (lang="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¿¡¼­ »ç¿ëÇÑ ¾ð¾îÄڵ带 ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .lang[=sVal]
ÄÚµå: document.write(oObj.lang); °á°ú:
language ¼Ó¼º IE (language="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¿¡¼­ »ç¿ëÇÑ ½ºÅ©¸³Æ® ¾ð¾î¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .language[=sVal]
ÄÚµå: document.write(oObj.language); °á°ú:
lastChild ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ childNodes Ä÷º¼Ç¿¡¼­ ¸¶Áö¸· ÀÚ½Ä °³Ã¼À» ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].lastChild
ÄÚµå: document.write(oObj.lastChild; °á°ú:
ÄÚµå: if (oObj.lastChild) document.write(oObj.lastChild.innerText); °á°ú:
¿¹Á¦length ¼Ó¼º IE3.02 NS
¢¡ °³Ã¼ÀÇ ¼±ÅÃÇÒ ¼ö ÀÖ´Â °¹¼ö length ¼Ó¼º°ªÀ» ¹ÝȯÇÑ´Ù.
¹®¹ý: .length
ÄÚµå: document.write(formObj.selectObj.options.length) °á°ú:
¿¹Á¦name ¼Ó¼º IE NS
¢¡ °³Ã¼ÀÇ À̸§ÀÎ name ¼Ó¼º°ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. ¿ëµµ°¡ ¸¹Áö´Â ¾Ê´Ù.
¹®¹ý: .name[=newName]
ÄÚµå: document.write(formObj.selectObj.options[0].name) °á°ú:
nextSibling ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ´ÙÀ½ ÇüÁ¦(°°Àº ¸ðüÀÇ ´ÙÀ½ ÀÚ½Ä) °³Ã¼À» ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].nextSibling
ÄÚµå: document.write(oObj.nextSibling); °á°ú:
ÄÚµå: if (oObj.nextSibling) document.write(oObj.nextSibling.nodeName); °á°ú:
nodeName ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ Æ¯Á¤ ³ëµå(node) ŸÀÔ À̸§À» ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].nodeName
ÄÚµå: document.write(oObj.nodeName); °á°ú:
nodeType ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ Æ¯Á¤ ³ëµå(node)ÀÇ Á¾·ù¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].nodeType
ÄÚµå: document.write(oObj.nodeType); °á°ú:
nodeValue ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ Æ¯Á¤ ³ëµå(node)ÀÇ °ªÀ» ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].nodeValue
ÄÚµå: document.write(oObj.nodeValue); °á°ú:
offsetHeight ¼Ó¼º IE
¢¡ offsetParent¿¡ ¼³Á¤¿¡µû¶ó ¸ðüÀÇ ·¹À̾ƿôÀ̳ª ÁÂÇ¥¿¡ »ó´ëÀûÀ¸·Î °è»êµÈ ³ôÀÌ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].offsetHeight
ÄÚµå: document.write(oObj.offsetHeight); °á°ú:
offsetLeft ¼Ó¼º IE
¢¡ offsetParent¿¡ ¼³Á¤¿¡µû¶ó ¸ðüÀÇ ·¹À̾ƿôÀ̳ª ÁÂÇ¥¿¡ »ó´ëÀûÀ¸·Î °è»êµÈ ¼öÆò À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].offsetLeft
ÄÚµå: document.write(oObj.offsetLeft); °á°ú:
offsetParent ¼Ó¼º IE
¢¡ °³Ã¼¿¡ offsetParent°ú offsetLeft ¼Ó¼ºµéÀÌ ÁöÁ¤µÈ ¿ë±â °³Ã¼¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].offsetParent
ÄÚµå: document.write(oObj.offsetParent); °á°ú:
ÄÚµå: document.write(oObj.offsetParent.nodeName); °á°ú:
offsetTop ¼Ó¼º IE
¢¡ offsetParent¿¡ ¼³Á¤¿¡µû¶ó ¸ðüÀÇ ·¹À̾ƿôÀ̳ª ÁÂÇ¥¿¡ »ó´ëÀûÀ¸·Î °è»êµÈ ¼öÁ÷ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].offsetTop
ÄÚµå: document.write(oObj.offsetTop); °á°ú:
offsetWidth ¼Ó¼º IE
¢¡ offsetParent¿¡ ¼³Á¤¿¡µû¶ó ¸ðüÀÇ ·¹À̾ƿôÀ̳ª ÁÂÇ¥¿¡ »ó´ëÀûÀ¸·Î °è»êµÈ ³Êºñ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].offsetWidth
ÄÚµå: document.write(oObj.offsetWidth); °á°ú:
onOffBehavior ¼Ó¼º IE
¢¡ ÁöÁ¤µÈ MS DirectAnimation¢ç ºñÇìÀ̹ö(behavior)°¡ µ¹¾Æ°¡´ÂÁö¸¦ ³ªÅ¸³»´Â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: .onOffBehavior[=true|false]
ÄÚµå: document.write(oObj.onOffBehavior=true); °á°ú:
options(Ä÷º¼Ç) ¼Ó¼º IE3.02 NS2
¢¡ ¸ðü select °³Ã¼(<SELECT>) ¼Ò¼ÓÀÇ °³Ã¼(<OPTION>)µéÀÇ ¹è¿­º¯¼ö¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: .options
ÄÚµå: document.write(formObj.selectObj.options) °á°ú:
ÄÚµå: document.write(formObj.selectObj.options.length) °á°ú:
ownerDocument ¼Ó¼º IE6
¢¡ ³ëµå(node)¿¡ ¿¬°üÇÑ document °³Ã¼¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .ownerDocument[=oVal]
ÄÚµå: document.write(oObj.ownerDocument); °á°ú:
ÄÚµå: document.write(oObj.ownerDocument.nodeName); °á°ú:
parentElement ¼Ó¼º IE
¢¡ ü°è ±¸Á¶»ó ºÎ¸ð ¿¤·¹¸àÆ® °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].parentElement
ÄÚµå: document.write(oObj.parentElement); °á°ú:
ÄÚµå: document.write(oObj.parentElement.nodeName); °á°ú:
parentNode ¼Ó¼º IE
¢¡ ±¸Á¶»ó ºÎ¸ð ¿¤·¹¸àÆ® °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].parentNode
ÄÚµå: document.write(oObj.parentNode); °á°ú:
ÄÚµå: document.write(oObj.parentNode.nodeName); °á°ú:
parentTextEdit ¼Ó¼º IE
¢¡ ±¸Á¶»ó ¿øº» °³Ã¼¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Â ¿ë±â °³Ã¼¼Ó¿¡¼­ TextRange °³Ã¼¸¦ »ý¼ºÇÒ ¼ö ÀÖ´Â ¿ë±â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].parentTextEdit
ÄÚµå: document.write(oObj.parentTextEdit); °á°ú:
previousSibling ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ´ÙÀ½ ÇüÁ¦(°°Àº ¸ðüÀÇ ´ÙÀ½ ÀÚ½Ä) °³Ã¼À» ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].previousSibling
ÄÚµå: document.write(oObj.previousSibling); °á°ú:
ÄÚµå: if (oObj.previousSibling) document.write(oObj.previousSibling.nodeName); °á°ú:
prototype ¼Ó¼º IE3.02 NS2
¢¡ °³Ã¼ÀÇ prototypeÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .prototype[=newPrototype]
ÄÚµå: document.write(formObj.selectObj.options[0].prototype) °á°ú:
readyState ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ÇöÀç »óŸ¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].readyState
ÄÚµå: document.write(oObj.readyState); °á°ú:
ÄÚµå: <SPAN id=SwRS></SPAN>&nbsp;<BUTTON onclick="SwRS.innerText=oObj.readyState">Ŭ¸¯</BUTTON> °á°ú:  
scopeName ¼Ó¼º IE
¢¡ ¿¤·¹¸àÆ® °³Ã¼¸¦ À§ÇØ Á¤ÀÇµÈ namespace¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].scopeName
ÄÚµå: document.write(oObj.scopeName); °á°ú:
scrollHeight ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ½ºÅ©·Ñ(È­¸é±¼¸²) ³ôÀ̸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].scrollHeight
ÄÚµå: document.write(oObj.scrollHeight); °á°ú:
scrollLeft ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ¿ÞÂÊ ¸ð¼­¸®¿Í ÇöÀç À©µµ¿ìÀÇ ³»¿ëÀÌ º¸ÀÌ´Â °¡Àå ¿ÞÂÊ À§Ä¡¿ÍÀÇ °Å¸®¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: [iVal=].scrollLeft
ÄÚµå: document.write(oObj.scrollLeft); °á°ú:
scrollTop ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ À§ÂÊ ¸ð¼­¸®¿Í ÇöÀç À©µµ¿ìÀÇ ³»¿ëÀÌ º¸ÀÌ´Â °¡Àå À§ÂÊ À§Ä¡¿ÍÀÇ °Å¸®¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: [iVal=].scrollTop
ÄÚµå: document.write(oObj.scrollTop); °á°ú:
scrollWidth ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ½ºÅ©·Ñ(È­¸é±¼¸²) ³Êºñ¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [iVal=].scrollWidth
ÄÚµå: document.write(oObj.scrollWidth); °á°ú:
¿¹Á¦selected ¼Ó¼º IE3.02 NS2
¢¡ °³Ã¼°¡ ÇöÀç ¼±ÅõǾú´Â°¡¸¦ ºÎ¿ï(Boolean)°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
°³Ã¼°¡ µðÆúÆ®·Î ¼±ÅõǾî ÀÖÀ¸¸é(<OPTION selected>) true¸¦, ¾Æ´Ï¸é false°¡ µÈ´Ù.
¹®¹ý: .selected[=true|false]
ÄÚµå: optionObj=formObj.selectObj.options;for (i=0;i<optionObj.length;i++) document.write('['+i+']'+optionObj[i].selected+' ')
°á°ú:
ÄÚµå: optionObj[3].selected=true;for (i=0;i<optionObj.length;i++) document.write('['+i+']'+optionObj[i].selected+' ')
°á°ú:
selectedIndex ¼Ó¼º IE NS
¢¡ °³Ã¼¿¡¼­ ÇöÀç ¼±ÅõǾî ÀÖ´Â Àμö(index)¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
typeÀÌ select-multiple·Î ¼³Á¤µÈ °æ¿ì´Â óÀ½ 1°³¸¸ ¹ÝȯÇÑ´Ù.
¹®¹ý: .selectedIndex[=newSelectedIndex] ȤÀº
¹®¹ý: .options.selectedIndex[=newSelectedIndex]
ÄÚµå: document.write(document.formObj.selectObj.options.selectedIndex); °á°ú:
ÄÚµå: document.write(document.formObj.selectObj.options.selectedIndex=0); °á°ú: (À§ ¼±Åùڽº¿¡¼­ ¹Ý¿µµÈ °á°ú¸¦ º¸¶ó)
syncMaster ¼Ó¼º IE (syncMaster="bVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ ½Ã°£¿ë±â°¡ ÀÌ °³Ã¼ÀÇ Ç÷¹ÀÌ¿Í µ¿±âÈ­ÇØ¾ß Çϴ°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .syncMaster[=bVal]
ÄÚµå: document.write(oObj.syncMaster=false); °á°ú:
systemBitrate ¼Ó¼º IE (systemBitrate="speedVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ ½Ã½ºÅÛÀÇ ´ë·«Àû ¹êµåÆøÀ» bps(bits-per-second) ´ÜÀ§·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].systemBitrate
ÄÚµå: document.write(oObj.systemBitrate); °á°ú:
systemCaptions ¼Ó¼º IE (systemCaptions="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ µð½ºÇ÷¹À̵Ǵ ÅؽºÆ®°¡ Ç÷¹À̵Ǵ ¿Àµð¿À ºÎºÐ¿¡ ÇØ´çÇϴ°¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].systemCaptions
ÄÚµå: document.write(oObj.systemCaptions); °á°ú:
systemLanguage ¼Ó¼º IE (systemLanguage="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ »ç¿ëÀÚ°¡ ½Ã½ºÅÛ¿¡ ¼³Á¤ÇÑ ¼±È£ ¾ð¾î¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].systemLanguage
ÄÚµå: document.write(oObj.systemLanguage); °á°ú:
systemOverdubOrSubtitle ¼Ó¼º IE (systemOverdubOrSubtitle="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¸¦ Ç÷¹ÀÌÇÒ ¶§ ÀÛÀº Á¦¸ñµéÀ» Ç¥ÇöÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: .systemOverdubOrSubtitle[=sVal]
ÄÚµå: document.write(oObj.systemOverdubOrSubtitle='overdub'); °á°ú:
tagName ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ Å±×(tag) À̸§À» ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].tagName
ÄÚµå: document.write(oObj.tagName); °á°ú:
tagUrn ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ namespace ¼±¾ð¿¡¼­ ¼³Á¤µÈ ÁÖ¼Ò(URN: Uniform Resource Name)¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .tagUrn[=sVal]
ÄÚµå: document.write(oObj.tagUrn); °á°ú:
¿¹Á¦text ¼Ó¼º IE3.02 NS2
¢¡ °³Ã¼ÀÇ Ç¥ÇöµÇ´Â ¹®ÀÚ¿­À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
´çÃÊ ÀÌ ¹®ÀÚ¿­Àº select °³Ã¼ÀÇ <OPTION>text ¹®ÀÚ¿­</OPTION>ÀÇ ³»¿ëÀ» ¹Ý¿µÇÑ´Ù.
¹®¹ý: .text[=sVal]
ÄÚµå: optionObj=formObj.selectObj.options;for (i=0;i<optionObj.length;i++) document.write('['+i+']'+optionObj[i].text+' ')
°á°ú:
ÄÚµå: <FORM><INPUT type=button value="º¯°æŬ¸¯" onClick="optionObj[0].text='º¯°æµÈ ¹®ÀÚ¿­';location.hash='sampleJump'"></FORM>
°á°ú: Ŭ¸¯Çϸé À§ ¿¹Á¦ text¸¦ º¯°æ½ÃŲ °ÍÀ¸·Î ³ªÅ¸³­´Ù.('¼±ÅûçÇ× 1' ¢¡ 'º¯°æµÈ ¹®ÀÚ¿­')
timeContainer ¼Ó¼º IE (timecontainer="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¿Í ¿¬°üµÈ ŸÀÓ¶óÀÎÀÇ Çü½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .timeContainer[=sVal]
ÄÚµå: document.write(oObj.timeContainer); °á°ú:
¿¹Á¦type ¼Ó¼º IE NS
¢¡ °³Ã¼ÀÇ Á¾·ù¸¦ ³ªÅ¸³»´Â type ¼Ó¼º°ªÀ» ¹ÝȯÇÑ´Ù.
ÇÑ°¡Áö¸¸ ¼±ÅÃÇÏ´Â °æ¿ì(µðÆúÆ®)´Â select-oneÀÌ°í, º¹¼ö ¼±ÅÃÀÇ °æ¿ì(<SELECT multiple>)´Â select-multipleÀÌ µÈ´Ù.
¹®¹ý: .type
ÄÚµå: document.write(formObj.selectObj.options.type) °á°ú:
uniqueID ¼Ó¼º IE
¢¡ ÀÚµ¿ÀûÀ¸·Î »ý¼ºµÈ °³Ã¼ÀÇ À¯ÀÏÇÑ ÀνÄÀÚ ¹®ÀÚ¿­À» ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].uniqueID
ÄÚµå: document.write(oObj.uniqueID); °á°ú:
¿¹Á¦value ¼Ó¼º IE3.02 NS2 (value="vVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ Ç¥½ÃµÇ´Â °ª value ¼Ó¼º°ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .value[=newValue]
ÄÚµå: optionObj=formObj.selectObj.options;for (i=0;i<optionObj.length;i++) document.write('['+i+']'+optionObj[i].value+' ')
°á°ú:
ÄÚµå: optionObj[3].value='';for (i=0;i<optionObj.length;i++) document.write('['+i+']'+optionObj[i].value+' ')
°á°ú:

stylescript
{background-attachment:val} obj.style.backgroundAttachment[=val]
¢¡ ¹®¼­ ¼ÓÀÇ ¹è°æ À̹ÌÁö¸¦ °³Ã¼¿¡ ¹è¿­ ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{background-color:val} obj.style.backgroundColor[=val]
¢¡ °³Ã¼ÀÇ ¹è°æ¿¡ ±ò¸®´Â »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{background-position-x:val} obj.style.backgroundPositionX[=val]
¢¡ backgroundPosition ¼Ó¼ºÀÇ x ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{background-position-y:val} obj.style.backgroundPositionY[=val]
¢¡ backgroundPosition ¼Ó¼ºÀÇ y ÁÂÇ¥¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{behavior:val} obj.style.behavior[=val]
¢¡ DHTML behaviorÀÇ ¼Ò°³ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{clear:val} obj.style.clear[=val]
¢¡ °³Ã¼¿¡¼­ ºÎµ¿(float)ºÎºÐÀÇ ¸éÀÇ ¿ÞÂÊ, ¿À¸¥ÂÊ È¤Àº ¾çÂÊÀ¸·Î Ç¥ÇöÀÌ Çã¿ëÇϴ°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{color:val} obj.style.color[=val]
¢¡ °³Ã¼ÀÇ ±ÛÀÚ »ö»óÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{direction:val} obj.style.direction[=val]
¢¡ °³Ã¼ÀÇ Àд ¼ø¼­¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.hasLayout
¢¡ °³Ã¼°¡ ·¹À̾ƿô(layout)À» °¡Áö°í Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
{height:val} obj.style.height[=val]
¢¡ °³Ã¼ÀÇ ³ôÀ̸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{layout-flow:val} obj.style.layoutFlow[=val]
¢¡ °³Ã¼ ³»¿ëÀÇ ¹æÇâÀ̳ª È帧¹æÇâÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{layout-grid:val} obj.style.layoutGrid[=val]
¢¡ ¹®ÀÚµéÀÇ ·¹À̾ƿôÀ» ÁöÁ¤ÇÏ´Â ¹®¼­ ±×¸®µå(grid) ¼Ó¼ºµéÀ» ÀÏ°ýÀûÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{layout-grid-mode:val} obj.style.layoutGridMode[=val]
¢¡ ÅؽºÆ® ·¹À̾ƿô ±×¸®µå¿¡ °¡·Î, ¼¼·Î°¡ »ç¿ëµÇ¾ú´Â°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù
¾ø½¿ obj.style.pixelBottom[=val]
¢¡ °³Ã¼ÀÇ ¾Æ·¡ÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.pixelHeight[=val]
¢¡ °³Ã¼ÀÇ ³ôÀ̸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.pixelLeft[=val]
¢¡ °³Ã¼ÀÇ ¿ÞÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.pixelRight[=val]
¢¡ °³Ã¼ÀÇ ¿À¸¥ÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.pixelTop[=val]
¢¡ °³Ã¼ÀÇ À§ÂÊ À§Ä¡¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.pixelWidth[=val]
¢¡ °³Ã¼ÀÇ ³Êºñ¸¦ Çȼ¿´ÜÀ§·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.posBottom[=val]
¢¡ bottom ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¾Æ·¡ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.posHeight[=val]
¢¡ height ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ³ôÀ̸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.posLeft[=val]
¢¡ left ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¿ÞÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.posRight[=val]
¢¡ right ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ¿À¸¥ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.posTop[=val]
¢¡ top ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ À§ÂÊ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¾ø½¿ obj.style.posWidth[=val]
¢¡ width ¾ÖÆ®¸®ºäÆ®·Î ÁöÁ¤µÈ ´ÜÀ§·Î °³Ã¼ÀÇ ³Êºñ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{text-autospace:val} obj.style.textAutospace[=val]
¢¡ Á¶Á¤µÈ ¹®ÀÚ¸¦ À§ÇÑ ÀÚµ¿ ¹®ÀÚ °£°Ý ¸ÂÃ߱⸦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{text-underline-position:val} obj.style.textUnderlinePosition[=val]
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼ºÀÌ 'underline'·Î ¼³Á¤µÈ °æ¿ì ¹ØÁÙÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{unicode-bidi:val} obj.style.unicodeBidi[=val]
¢¡ ¾ç¹æÇâ ¾Ë°í¸®Áò¿¡ °üÇÑ ±ò¸° ¼öÁØÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{width:val} obj.style.width[=val]
¢¡ °³Ã¼ÀÇ ³Êºñ¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{word-wrap:val} obj.style.wordWrap[=val]
¢¡ ³»¿ëÀÌ ¿ë±â °³Ã¼ÀÇ ¹üÀ§¸¦ ÃÊ°úÇÏ¸é ´Ü¾î¸¦ ÀÚ¸¦ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{writing-mode:val} obj.style.writingMode[=val]
¢¡ °³Ã¼¼Ó ³»¿ëÀÇ ¹æÇâÀ̳ª È帧À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{zoom:val} obj.style.zoom[=val]
¢¡ °³Ã¼ÀÇ È®´ë ¹èÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

¸Þ¼­µå¼³¸í
add IE4 - ÁöÁ¤ÇÑ °³Ã¼ÀÇ Ç׸ñÀ» Ãß°¡ÇÑ´Ù. ¸ÕÀú ÇØ´ç ¿¤·¹¸àÆ®¸¦ »ý¼ºÇÏ°í °³Ã¼¸¦ Ãß°¡ÇÑ´Ù.
¹®¹ý: .add(addObj)
addBehavior ¿¤·¹¸àÆ®¿¡ behavior¸¦ Ãß°¡ÇÑ´Ù.
appendChild °³Ã¼ÀÇ Àڽݳü·Î ÇÑ ¿¤·¹¸àÆ®¸¦ Ãß°¡ÇÑ´Ù.
applyElement °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®ÀÇ ÀÚ½ÄÀ̳ª ¸ðü °³Ã¼·Î ¸¸µç´Ù.
attachEvent IE - À̺¥Æ®¿¡ ƯÁ¤ ±â´ÉÀ» ¹­¾î, ±â´ÉÇÔ¼ö°¡ °³Ã¼¿¡¼­ À̺¥Æ®°¡ ¹ß»ýµÇ¸é ¾ðÁ¦³ª È£ÃâµÇ°Ô ÇÑ´Ù.
À̺¥Æ®ÀÇ Á¦°Å´Â detachEvent¿¡¼­ ÇÑ´Ù. ¹Ýȯ°ªÀº ºÎ¿ï°ªÀÌ´Ù.
¹®¹ý: [bVal=].object.attachEvent(event,functObj)
event´Â Çʼö¿ä¼ÒÀÌ°í, Ç¥ÁØ À̺¥Æ® ¹®ÀÚ¿­ÀÌ´Ù. functObjµµ Çʼö¿ä¼ÒÀÌ°í À̺¥Æ®°¡ ¹ß»ýµÇ¸é È£ÃâµÉ ±â´ÉÇÔ¼öÀÌ´Ù.
ÄÚµå: function callFunc(){alert('ondblclick À̺¥Æ® ¹ß»ý')}document.attachEvent('ondblclick',callFunc)
°á°ú: // ¹®¼­ À§ ¾Æ¹«µ¥¼­³ª ´õºíŬ¸¯ ÇØ º¸¶ó.
ÄÚµå:<INPUT type=button value="attachEvent Àç¼³Á¤" onclick="document.detachEvent('ondblclick',callFunc);document.attachEvent('ondblclick',callFunc)"></SPAN> °á°ú:
clearAttributes °³Ã¼ÀÇ ¸ðµç ¾ÖÆ®¸®ºäÆ®µé°ú °ªµéÀ» »èÁ¦ÇÑ´Ù.
click ¿¹Á¦ IE NS °³Ã¼¸¦ Ŭ¸¯ÇÏ´Â °Í°ú µ¿ÀÏÇÏ°Ô onclick À̺¥Æ®°¡ ¹ß»ýµÈ´Ù.
¹®¹ý: .click()
cloneNode ¹®¼­ °èÅëµµ·ÎºÎÅÍ °³Ã¼ÀÇ ÂüÁ¶¸¦ º¹»çÇÑ´Ù.
componentFromPoint ¾î¶² À̺¥Æ®¿¡¼­ ÁöÁ¤µÈ ÁÂÇ¥¿¡ À§Ä¡ÇÑ ÄÞÆ÷³ÙÆ®¸¦ ¹ÝȯÇÑ´Ù.
contains °³Ã¼ ¼Ó¿¡ ÁÖ¾îÁø ¿¤·¹¸àÆ®°¡ Àִ°¡¸¦ Á¡°ËÇÑ´Ù.
detachEvent IE5 - attachEvent À̺¥Æ®·Î ÷ºÎµÈ À̺¥Æ®¸¦ Á¦°ÅÇÑ´Ù. ¹Ýȯ°ªÀº ¾ø´Ù.
¹®¹ý: .detachEvent(event,funcion)
ÄÚµå: <INPUT type=button value="detachEvent" onclick="document.detachEvent('ondblclick',callFunc)"></SPAN>
°á°ú: // Ŭ¸¯ ÈÄ¿¡´Â attachEvent¿¡¼­ ¼³Á¤µÈ À̺¥Æ®°¡ Á¦°ÅµÈ´Ù. Á¦°Å ÈÄ ´õºíŬ¸¯ÇØ º¸¶ó.
dragDrop ondragstart À̺¥Æ®¸¦ ½ÃÀÛÇÑ´Ù.
fireEvent °³Ã¼¿¡¼­ ÁöÁ¤ÇÑ À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù.
getAdjacentText °³Ã¼ÀÇ ÀÎÁ¢ ¹®ÀÚ¿­À» ¹ÝȯÇÑ´Ù.
getAttribute ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®ÀÇ °ªÀ» ¹ÝȯÇÑ´Ù.
getAttributeNode IE6 attribute.name¼Ó¼ºÀ» ÂüÁ¶ÇÏ´Â attribute °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
getBoundingClientRect TextRectangle °³Ã¼µéÀÇ Ä÷º¼Ç¿¡ ¿¬°áµÊÀ» ÁöÁ¤ÇÏ´Â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
getClientRects °³Ã¼ÀÇ ³»¿ëÀ̳ª Ŭ¶óÀ̾ðÆ® ¹üÀ§(range)ÀÇ ¹èÄ¡(layout)¸¦ ±â¼úÇÏ´Â »ç°¢Çü(rectangle)µéÀÇ Ä÷º¼ÇÀ» ¹ÝȯÇÑ´Ù. °¢ »ç°¢ÇüÀº ÇÑ ÁÙÀÌ´Ù.
getExpression ÁÖ¾îÁø ¼Ó¼ºÀÇ Ç¥Çö(expression)À» ¹ÝȯÇÑ´Ù.
hasChildNodes °³Ã¼°¡ Àڽݳü¸¦ °¡Áö°í °¡Áö°í Àִ°¡¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇÑ´Ù.
insertAdjacentElement ÁöÁ¤ÇÑ À§Ä¡¿¡ ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù.
insertAdjacentHTML ¿¤·¹¸àÆ®ÀÇ ÁöÁ¤µÈ À§Ä¡¿¡ ÁÖ¾îÁø HTML ¹®ÀÚ¿­À» »ðÀÔÇÑ´Ù.
insertAdjacentText ¿¤·¹¸àÆ®ÀÇ ÁöÁ¤µÈ À§Ä¡¿¡ ÁÖ¾îÁø ¹®ÀÚ¿­À» »ðÀÔÇÑ´Ù.
insertBefore ¹®¼­ °èÅëµµ¿¡¼­ ¸ðü °³Ã¼ÀÇ ÀÚ½Ä ³ëµå·Î ¿¤·¹¸àÆ®¸¦ »ðÀÔÇÑ´Ù.
mergeAttributes ÁöÁ¤µÈ °³Ã¼¿¡ ¸ðµç Àбâ/¾²±â ¾ÖÆ®¸®ºäÆ®¸¦ º¹»çÇÑ´Ù.
normalize IE6 °³Ã¼ÀÇ ÀÎÁ¢ TextNode °³Ã¼¸¦ ÅëÇÕÇÏ¿© ¹®¼­ °³Ã¼ ¸ðµ¨À» Á¤»óÈ­ÇÑ´Ù.
releaseCapture ÇöÀç ¹®¼­ÀÇ °³Ã¼·Î ºÎÅÍ ¸¶¿ì½º ĸÃĸ¦ Á¦°ÅÇÑ´Ù.
remove IE4 - ÁöÁ¤ÇÑ °³Ã¼ÀÇ Ç׸ñÀ» »èÁ¦ÇÑ´Ù.
¹®¹ý: .remove(index)
removeAttribute °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ®¸¦ Á¦°ÅÇÑ´Ù.
removeAttributeNode IE6 °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ Á¦°ÅÇÑ´Ù.
removeBehavior °³Ã¼·ÎºÎÅÍ behavior¸¦ Á¦°ÅÇÑ´Ù.
removeChild °³Ã¼·ÎºÎÅÍ ÀÚ½Ä ³ëµå¸¦ Á¦°ÅÇÑ´Ù.
removeExpression ÁöÁ¤ÇÑ ¼Ó¼ºÀ¸·ÎºÎÅÍ Ç¥Çö(expression)À» Á¦°ÅÇÑ´Ù.
removeNode ¹®¼­ °èÅëµµ¿¡¼­ °³Ã¼¸¦ Á¦°ÅÇÑ´Ù.
replaceAdjacentText °³Ã¼¿¡ ÀÎÁ¢ ¹®ÀÚ¿­À» ±³Ã¼ÇÑ´Ù.
replaceChild ÇöÀçÀÇ ÀÚ½Ä ¿¤·¹¸àÆ®¸¦ »õ·Î¿î ÀÚ½Ä ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù.
replaceNode °³Ã¼¸¦ ´Ù¸¥ ¿¤·¹¸àÆ®·Î ±³Ã¼ÇÑ´Ù.
setAttribute ÁöÁ¤µÈ ¾ÖÆ®¸®ºäÆ®¸¦ ¼³Á¤ÇÑ´Ù.
setAttributeNode IE6 °³Ã¼ÀÇ ºÎºÐÀ¸·Î ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ ¼³Á¤ÇÑ´Ù.
setCapture ÇöÀç ¹®¼­¿¡ ¼Ò¼ÓµÈ °³Ã¼ÀÇ ¸¶¿ì½º ĸÃĸ¦ ¼³Á¤ÇÑ´Ù
setExpression ÁöÁ¤µÈ °³Ã¼ÀÇ Ç¥Çö(expression)À» ¼³Á¤ÇÑ´Ù.
swapNode ¹®¼­ °èÅëµµ¿¡¼­ µÎ °³Ã¼ÀÇ À§Ä¡¸¦ ¼­·Î ¹Ù²Û´Ù.
watch¿Í unwatch - NS select °³Ã¼´Â Object °³Ã¼ÀÇ watchNS¿Í unwatchNS ¸Þ¼­µå¸¦ Àü´Þ¹Þ´Â´Ù.

À̺¥Æ®¼³¸í
onlayoutcomplete ¿øº» ¹®¼­·ÎºÎÅÍ ³»¿ëÀ» ÇöÀçÀÇ LayoutRect °³Ã¼¿¡ ä¿ö³Ö±â°¡ ³¡³ª°í ÀμâÇϰųª Àμâ¹Ì¸®º¸±â¸¦ ½ÇÇàÇÏ¸é ¹ß»ýµÈ´Ù.
onlosecapture °³Ã¼°¡ ¸¶¿ì½º ĸÃÄ(capture)¸¦ ÇØÁ¦ÇÏ¸é ¹ß»ýÇÑ´Ù.
onpropertychange °³Ã¼ÀÇ ¼Ó¼ºÀ» º¯°æ¹ß»ýÇÑ´Ù.
onreadystatechange °³Ã¼ÀÇ Áغñ»óÅÂ(readyState) ¼Ó¼ºÀ» º¯°æ½ÃÅ°¸é ¹ß»ýÇÑ´Ù.
onselectstart °³Ã¼°¡ ¼±ÅõDZ⠽ÃÀÛÇÏ¸é ¹ß»ýÇÑ´Ù.
ontimeerror ÀϹÝÀûÀ¸·Î À¯È¿ÇÏÁö ¾ÊÀº °ªÀÇ °á°ú¿¡ ÀÇÇÏ¿©, ½Ã°£À» ÁöÁ¤ÇÏ´Â ¿À·ù°¡ ÀϾ¸é ¹ß»ýµÈ´Ù.

Behavior¼³¸í
clientCaps Explorer¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÏ°í ¿äû¿¡ ÀÇÇÏ¿© ºê¶ó¿ìÀúÀÇ ÄÞÆ÷³ÙÆ®¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý´Ã Á¦°øÇÑ´Ù.
download ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ°í ¿Ï·áµÇ¸é ¿Ï·á¸¦ ¾Ë·ÁÁÖ´Â ±â´ÉÀ» °®°íÀÖ´Ù.
homePage »ç¿ëÀÚÀÇ È¨ÆäÀÌÁö¿¡ ´ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù.
httpFolder ºê¶ó¿ìÀú°¡ Ç×ÇØÇÒ ¶§ Æú´õ¸¦ º¼¼ö ÀÖ´Â ½ºÅ©¸³Æ® ±â´ÉÀÌ Æ÷ÇԵǾî ÀÖ´Ù.
saveFavorite °³Ã¼°¡ Áñ°Üã±â(favorite)¿¡ µ¥ÀÌÅ͸¦ À¯ÁöÇÏ°Ô ÇÑ´Ù.
saveHistory °³Ã¼°¡ ¹æ¹®ÇÑ ±â·Ï(history)¿¡ µ¥ÀÌÅ͸¦ À¯ÁöÇÏ°Ô ÇÑ´Ù.
time (ºÒ·®) HTML ¿¤·¹¸àÆ®¿¡ È°¼º ½Ã°£À» Á¦°øÇÑ´Ù.
time2 HTML ¿¤·¹¸àÆ®³ª ¿¤·¹¸àÆ® ±¸·ì¿¡ È°¼º ½Ã°£À» Á¦°øÇÑ´Ù.
userData °³Ã¼°¡ µ¥ÀÌÅ͸¦ »ç¿ëÀÚ µ¥ÀÌÅÍ(user data)¿¡ À¯ÁöÇÏ°Ô ÇÑ´Ù.

°³Ã¼ ¿¹Á¦

°á°ú Ç¥½Ãâ

À§ ¿¹Á¦ ¼±Åðá°úÀ̹ǷΠ¼±ÅÃµé º¯°æÇϸç È®ÀÎÇØ º¸¶ó.

<SCRIPT>
function fnChange(){
  str='formObj.selectObj.selectedIndex='+formObj.selectObj.selectedIndex+'<BR>';
  str+='formObj.selectObj.options[formObj.selectObj.selectedIndex].text='+
    formObj.selectObj.options[formObj.selectObj.selectedIndex].text+'<BR><BR>';
  for (i=0;i< formObj.selectObj.length;i++){
    str+='formObj.selectObj.options['+i+'].text="'+formObj.selectObj.options[i].text+'" ';
    str+='formObj.selectObj.options['+i+'].selected='+formObj.selectObj.options[i].selected+'<BR>';
  }
   showA.innerHTML=str;
}
</SCRIPT>
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>
<BUTTON onclick=fnChange()>Ŭ¸¯ÇÏ¿© À§ ¿¹Á¦ °á°ú º¸±â</BUTTON>

°á°ú Ç¥½Ãâ
<SCRIPT>
function doShow(){
  selidx=fName.selName.selectedIndex;
  str='fName.selName.selectedIndex='+selidx+'<BR>';
  str+='fName.selName.options('+selidx+').innerText=';
  str+=fName.selName.options(selidx).innerText+'<BR>';
  str+='fName.selName.options('+selidx+').name=';
  str+=fName.selName.options(selidx).name+'<BR>';
  str+='fName.selName.options('+selidx+').value=';
  str+=fName.selName.options(selidx).value+'<BR>';
  str+='fName.selName.options('+selidx+').parentElement.label=';
  str+=fName.selName.options(selidx).parentElement.label+'<BR>';
  str+='fName.selName.options('+selidx+').parentElement.name=';
  str+=fName.selName.options(selidx).parentElement.name+'<BR>';
  showB.innerHTML=str;
}
</SCRIPT>
<FORM name=fName>
<SELECT name=selName onchange="doShow()">
  <OPTGROUP label="°ú½Ç" id=optgroupObj1 name=fruitGroup>
    <OPTION name=optObj1 value=apple>»ç°ú</OPTION>
    <OPTION name=optObj2 value=peach selected>º¹¼þ¾Æ</OPTION>
    <OPTION name=optObj3 value=grape>Æ÷µµ</OPTION>
  </OPTGROUP>
  <OPTGROUP label="ä¼Ò" id=optgroupObj2 name=vegiGroup disabled>
    <OPTION name=optObj4 value=strawberry>µþ±â</OPTION>
    <OPTION name=optObj5 value=tomato>µµ¸¶µµ</OPTION>
    <OPTION name=optObj6 value=melon>¸á·Ð</OPTION>
  </OPTGROUP>
</SELECT>
</FORM>
<DIV id=showB>°á°ú Ç¥½Ãâ</DIV>