form °³Ã¼°¡ ¾î¶»°Ô µ¥ÀÌÅ͸¦ ¼­¹ö¿¡ º¸³»´Â°¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)
¼Ó¼º°ªÀº form °³Ã¼°¡ ¾î¶»°Ô µ¥ÀÌÅ͸¦ ¼­¹ö¿¡ º¸³»´Â°¡¸¦ ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

get µðÆúÆ®À̸ç, action ÁÖ¼Ò(URL)¿¡ Àμöµé(arguments)À» ÷ºÎÇÏ°í ¾ØÄ¿°¡ ÀÖÀ¸¸é ¿¬´Ù.
post HTTP ¹ß¼Û(post) º¯È¯À» ÅëÇÏ¿© ¼Û½ÅÇÑ´Ù.

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

Ư±â

post ¸Þ¼­µå·Î µ¥ÀÌÅ͸¦ ¼Û½ÅÇÒ ¶§ ÀÌ·ÐÀûÀ¸·Î´Â HTTP ¼­¹ö¿¡ º¸³¾ ¼ö ÀÖ´Â µ¥ÀÌÅÍ·®¿¡´Â Á¦ÇÑÀÌ ¾ø´Ù.
µ¥ÀÌÅÍ·®ÀÇ ½ÇÁ¦ÀûÀÎ Á¦ÇÑÀº »ç¿ëÀÚ ÄÄÇ»ÅÍÀÇ ¹°¸®Àû Á¦ÇÑÀÌ µÉ ¼ö ÀÖÀ» °ÍÀÌ´Ù.

get ¸Þ¼­µå·Î µ¥ÀÌÅ͸¦ HTTP ¼­¹ö¿¡ º¸³¾ ¶§´Â URL ÁÖ¼ÒÀÇ ÃÖ°í ±æÀÌ 2048 bytesÀÇ Á¦ÇÑÀ» ¹Þ´Â´Ù.

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

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


ÀÔ·Â Çʵå
<FORM id="formObj">
ÀÔ·Â Çʵå <INPUT>
</FORM>
<SCRIPT>
document.write('formObj.method='+formObj.method);
</SCRIPT>