µð½ºÇ÷¹ÀÌµÈ °³Ã¼ÀÇ Á¦¾î°ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù. ÀÌ ¼Ó¼ºÀº °³Ã¼°¡ ¼Û½ÅµÇ¸é ¼­¹ö¿¡ Àü´ÞµÈ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)
¼Ó¼º°ªÀº °³Ã¼°¡ ¼Û½ÅµÇ¸é ¼­¹ö¿¡ Àü´ÞµÇ´Â µð½ºÇ÷¹ÀÌµÈ °³Ã¼ÀÇ Á¦¾î°ªÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

°³Ã¼°¡ ¼­¹ö¿¡ ¼Û½ÅµÇ¸é name/value ¦ÀÌ ¼­¹ö¿¡¼­ÀÇ Ã³¸®¸¦ À§ÇÏ¿© ¼­¹ö¿¡ Àü´ÞµÈ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Ư±â

value ¼Ó¼ºÀÇ ÃʱⰪÀº °³Ã¼ÀÇ Ãʱ⠵ð½ºÇ÷¹ÀÌµÈ ¹®ÀÚ¿­ÀÌ´Ù. »ç¿ëÀÚ°¡ ÀÌ value ¹®ÀÚ¿­À» °³Ã¼ÀÇ ³»¿ë Á¦¾î¸¦ ¼Û½ÅÇϱâ Àü¿¡ ÆíÁýÇÒ ¼ö ÀÖ´Ù. INPUT type=reset Á¦¾î °³Ã¼·Î Àç¼³Á¤ÇÏ¸é ¿ø·¡»óÅ·ΠÃʱⰪÀÌ È¸º¹µÈ´Ù.

INPUT type=password °³Ã¼ÀÇ value ¼Ó¼ºÀº text ¼Ó¼º°ú °°Àº ¹æ½ÄÀÌÁö¸¸ Ç×»ó ¹®ÀÚµéÀÌ *¿Í °°Àº ¹®ÀÚ·Î º¸ÀÌÁö ¾Ê°Ô µð½ºÇ÷¹ÀÌ µÇ´Â Á¡¸¸ ´Ù¸£´Ù.

ÁÖÀÇ : INPUT type=password °³Ã¼ÀÇ value ¼Ó¼ºÀº ÅؽºÆ®¸¦ º¸ÀÌÁö ¾Ê°Ô Ç¥ÇöÇÏÁö¸¸, ¼­¹ö¿¡ Àü´ÞµÇ´Â ¹®ÀÚ¿­Àº ¸í¹éÇÑ ÀÏ¹Ý ÅؽºÆ®À̹ǷΠ³×Æ®¿öÅ©¿¡ Á¢¼ÓÇÑ ´Ù¸¥ »ç¶÷ÀÌ ÀÐÀ» ¼ö ÀÖ´Ù´Â Á¡¿¡ ÁÖÀÇÇ϶ó.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
Âü°í
input

ÀÌ ¼Ó¼ºÀº (¿µ¹®)HTML 3.2¿¡¼­ Á¤ÀǵǾú´Ù.


¼º¸í: ¾ÏÈ£:
°á°ú Ç¥½Ãâ

°ªÀ» º¯°æÇÏ°í ¸¶¿ì½º¸¦ °³Ã¼ ¹Û¿¡¼­ Ŭ¸¯ÇØ º¸¶ó.

<SCRIPT>
function showResult(){
  str='fmName.textObj.nodeName='+fmName.textObj.nodeName+'<BR>';
  str+=' fmName.textObj.name='+fmName.textObj.name+'<BR>';
  str+=' fmName.textObj.value='+fmName.textObj.value+'<BR><BR>';
  str+='fmName.passObj.nodeName='+fmName.passObj.nodeName+'<BR>';
  str+=' fmName.passObj.name='+fmName.passObj.name+'<BR>';
  str+=' fmName.passObj.value='+fmName.passObj.value+'<BR>';
  showA.innerHTML=str;
}
</SCRIPT>
<FORM name="fmName" action="http://koxo.com/lang/js/object/exp/xsubmit.cgi">
¼º¸í: <INPUT type="text" name="textObj" value="ÅؽºÆ® ÃʱⰪ" size=15 onchange="showResult()">
¾ÏÈ£: <INPUT type="password" name="passObj" value="¾ÏÈ£ ÃʱⰪ" size=15 onchange="showResult()">
<INPUT type="reset" onclick="form.reset();showResult()">
<INPUT type="submit" onclick="showResult()" value="¼Û½ÅÈ®ÀÎ">
</FORM>
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>