formÀÇ ¿©·¯°¡Áö ÀÔ·Â Á¦¾îµéÀ» »ý¼ºÇÑ´Ù.

Script [propVal=]..propName;
HTML propName="propVal">innerString
Ư±â

form °³Ã¼ÀÇ INPUT ¿¤·¹¸àÆ®¿¡ »ç¿ëµÇ´Â type ¾ÖÆ®¸®ºäÆ®´Â ´ÙÀ½°ú °°´Ù.

button checkbox file hidden image
password radio reset submit text

ÀÌ ¿¤·¹¸àÆ®´Â ÀζóÀÎ ¿¤·¹¸àÆ®ÀÌ´Ù.

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

ÂüÁ¶
button select textArea

ÀÌ °³Ã¼´Â (¿µ¹®)HTML3.2¿¡ Á¤ÀǵǾú°í (¿µ¹®)DOM Level 1(W3C Document Object Model)¿¡ Á¤ÀǵǾú´Ù.


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


accept ¼Ó¼º IE6 NS (accept="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ Äĸ¶·Î ºÐ¸®µÈ ÄÁÅÙµå ŸÀÔµéÀÇ ¸ñ·ÏÀ» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .accept[=sVal]
ÄÚµå: document.write(oObj.accept) °á°ú:
align ¼Ó¼º IE (align=sVal> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ Á¤·Ä À§Ä¡¸¦ ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù. ´Ü INPUT type=image¿¡¼­¸¸ Àû¿ëµÈ´Ù.
¹®¹ý: .align[=sVal]
ÄÚµå: document.write(oObj.align);
alt ¼Ó¼º IE NS (alt="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ ÁöÁ¤µÈ ´ëü¹®ÀÚ¿­(±Ô°Ý alt) ¹®ÀÚ¿­À» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .alt[=sVal]
ÄÚµå: document.write(oObj.alt) °á°ú:
complete ¼Ó¼º IE NS
¢¡ °³Ã¼°¡ ¿ÏÀüÈ÷ ·ÎµùµÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].complete
ÄÚµå: document.write(oObj.complete) °á°ú:
dynsrc ¼Ó¼º IE NS (dynsrc="urlVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ À©µµ¿ì¿¡ µð½ºÇ÷¹ÀÌµÉ ºñµð¿À³ª VRMLÀ» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .dynsrc[=urlVal]
ÄÚµå: document.write(oObj.dynsrc) °á°ú:
hspace ¼Ó¼º IE (hspace=iVal> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ ¼öÆò ¸¶ÁøÀ» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .hspace[=iVal]
ÄÚµå: document.write(oObj.hspace); °á°ú:
loop ¼Ó¼º IE (loop=Val> ¾ÖÆ®¸®ºäÆ®)
¢¡ À½¾ÇÀ̳ª ºñµð¿À Ç÷¹À̸¦ ¸î¹ø ¹Ýº¹ÇÒ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .loop[=Val]
ÄÚµå: document.write(oObj.loop); °á°ú:
lowsrc ¼Ó¼º IE NS (lowsrc="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ µð½ºÇ÷¹ÀÌµÉ ÀúÇØ»óµµ À̹ÌÁö¸¦ ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .lowsrc[=sVal]
ÄÚµå: document.write(oObj.lowsrc) °á°ú:
start ¼Ó¼º IE NS (start="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ ºñµð¿À°¡ ¾ðÁ¦ Ç÷¹ÀÌµÉ °ÍÀΰ¡¸¦ ³ªÅ¸³»´Â ¹®ÀÚÀ» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .start[=sVal]
ÄÚµå: document.write(oObj.start) °á°ú:
useMap ¼Ó¼º IE (useMap="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ ÀÚÁÖ ºÏ¸¶Å© È®ÀåÀÚ(#name)¿Í ÇÔ²² »ç¿ëÀÚÃø À̹ÌÁö¸ÊÀ¸·Î »ç¿ëÇϱâ À§ÇÑ ÁÖ¼ÒÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .useMap[=sVal]
ÄÚµå: document.write(oObj.useMap); °á°ú:
value ¼Ó¼º IE (value="vVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ ¼Ó¼º°ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .value[=vVal]
ÄÚµå: document.write(oObj.value); °á°ú:
vspace ¼Ó¼º IE (vspace=iVal> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ ¼öÁ÷ ¸¶ÁøÀ» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .vspace[=iVal]
ÄÚµå: document.write(oObj.vspace); °á°ú:

stylescript
{layout-flow:val} obj.style.layoutFlow[=val]
¢¡ °³Ã¼ ³»¿ëÀÇ ¹æÇâÀ̳ª È帧¹æÇâÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{text-underline-position:val} obj.style.textUnderlinePosition[=val]
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼ºÀÌ 'underline'·Î ¼³Á¤µÈ °æ¿ì ¹ØÁÙÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{word-wrap:val} obj.style.wordWrap[=val]
¢¡ ³»¿ëÀÌ ¿ë±â °³Ã¼ÀÇ ¹üÀ§¸¦ ÃÊ°úÇÏ¸é ´Ü¾î¸¦ ÀÚ¸¦ °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{writing-mode:val} obj.style.writingMode[=val]
¢¡ °³Ã¼¼Ó ³»¿ëÀÇ ¹æÇâÀ̳ª È帧À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{zoom:val} obj.style.zoom[=val]
¢¡ °³Ã¼ÀÇ È®´ë ¹èÀ²À» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Behavior¼³¸í
mask DHTML °³Ã¼µé¿¡ ¸¶½ºÅ© ºñÇìÀ̹ö¸¦ Çã¿ëÇÑ´Ù.

°³Ã¼ ¿¹Á¦

¼º¸í

¾ÏÈ£

»ö»ó Àû»ö ³ì»ö û»ö

Ư±â

ȸ½Å ¿äû

°á°ú Ç¥½Ãâ
<SCRIPT>
function showValues(){
  obj=document.forms(1);
  str='';
  for (i=0;i< obj.elements.length;i++){
    str+=obj[i].nodeName+' type="'+obj[i].type+'" name="'+obj[i].name+'" value="'+obj[i].value+'"<BR>';
  }
  showA.innerHTML=str;
}
</SCRIPT>
<FORM id="formName" action="http://koxo.com/lang/js/object/exp/xsubmit.cgi" method=get>
<P>¼º¸í <INPUT name="inObj" type=text value="È«±æµ¿">
<P>¾ÏÈ£ <INPUT name="passObj" type="password" value="¾ÏÈ£">
<P>»ö»ó <INPUT type="radio" name="butObj" value="red" checked>Àû»ö
<INPUT type="radio" name="butObj" value="green">³ì»ö
<INPUT type="radio" name="butObj" value="blue">û»ö
<P>Ư±â <INPUT name="in2Obj" type="text"  size="30" maxlength="250" value="Ư±â ÀÔ·Â">
<P><INPUT name="checkObj" type=checkbox checked>ȸ½Å ¿äû</P>
<P style="margin-left:3em"><INPUT name="showBut" type=button value="³»¿ëº¸±â" onclick="javascript:showValues()">
<INPUT name="submitBut" type="submit" value="¼Û½Å">
<INPUT name="resetBut" type="reset" value="´Ù½Ã"></P>
</FORM>
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>