form °³Ã¼ÀÇ MIME ¿£ÄÚµùÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)
¼Ó¼º°ªÀº form °³Ã¼ÀÇ MIME(Multipurpose Internet Mail Extensions) ¿£ÄÚµùÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.
ÀÌ´Â form °³Ã¼°¡ ¼Û½ÅµÉ ¶§ º¸³»Áö´Â µ¥ÀÌÅÍÀÇ Çü½ÄÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº application/x-www-form-urlencodedÀÌ´Ù.

Ư±â

enctype ¼Ó¼ºÀº IE6¿¡¼­ µµÀԵǾú´Ù. ÀÌÀü ¹öÀüÀÇ ºÎÇÕÀ» À§Çؼ­´Â encoding ¼Ó¼ºÀ» »ç¿ëÇ϶ó.

IE4.0Àº action=post¿Í µ¿¹ÝµÇ¾î ¼­¹ö¿¡ ÆÄÀÏÀ» ¾÷·ÎµåÇÒ ¶§ ÇÊ¿äÇÑ multipart/form-dataµµ ÀνÄÇÑ´Ù.

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

ÀÌ ¼Ó¼ºÀº (¿µ¹®) HTML 3.2¿Í (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼­ Á¤ÀǵǾú´Ù.


¹®¼­ÀÇ ¼Ó¼ºº¸±â ¿¹Á¦

<FORM name=formObj action="get">
<INPUT type=button value="Å×½ºÆ® ´ÜÃß"></INPUT>
</FORM>
<SCRIPT>
document.write('formObj.encoding=<FONT color=blue>'+formObj.encoding+'</FONT><BR>')
document.write('formObj.enctype=<FONT color=blue>'+formObj.enctype+'</FONT><BR>')
document.write('formObj.action=<FONT color=blue>'+formObj.action+'</FONT>')
</SCRIPT>