¼±ÅÃµÈ Á¦¾î°ªÀ̳ª µðÆúÆ® Á¦¾î°ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç ´ÙÀ½À» Á¦¿ÜÇÏ°í´Â µðÆúÆ®°ªÀº ¾ø´Ù.
µðÆúÆ® ÀÖ´Â °³Ã¼ | µðÆúÆ® | |||
---|---|---|---|---|
on | ||||
¿ø·¡´ë·Î | Reset | |||
Äõ¸®Àü¼Û | Submit Query |
value ¼Ó¼ºÀÇ ¸ñÀûÀº Á¦¾î type¿¡ µû¶ó ¾Æ·¡¿Í °°ÀÌ ´Ù¸£´Ù.
¼±ÅÃµÈ °ªÀÌ´Ù. ¼Û½ÅÁ¦¾î¿¡¼ ¼±ÅõÈ(check µÈ) Á¦¾îÀÇ °ª¸¸À» ¼Û½ÅÇÏ°í ¼±ÅõǾî ÀÖÁö ¾ÊÀ¸¸é Á¦¾î ¼Û½ÅÀÌ ¾ø´Ù. | |
ÆÄÀÏ À̸§ÀÌ´Ù. »ç¿ëÀÚ¿¡ ÀÇÇÏ¿© Á¦¾î·Î ¼±ÅÃµÈ ÆÄÀÏÀÇ À̸§ÀÌ¸ç ´Ù¸¥ Á¦¾îó·³ ÀÌ °ªÀº ÀбâÀü¿ëÀÌ´Ù. | |
ÆûÀÌ ¼Û½ÅµÇ¸é °¨ÃçÁø ³»¿ëÀÇ ¹®ÀÚ¿ °ªÀÌ ¼Û½ÅµÈ´Ù. | |
µðÆúÆ®°ªÀÌ´Ù. ÀÌ Á¦¾î´Â óÀ½¿¡ °ªÀ» »ý¼ºÇÒ ¶§³ª »ç¿ëÀÚ°¡ Àç¼³Á¤ ´ÜÃ߸¦ Ŭ¸¯ÇßÀ» ¶§¸¸ µð½ºÇ÷¹À̵ȴÙ. | |
¼±ÅÃµÈ °ªÀÌ´Ù. ¼Û½ÅÁ¦¾î¿¡¼ ¼±ÅõÈ(check µÈ) Á¦¾îÀÇ °ª¸¸À» ¼Û½ÅÇÏ°í ¼±ÅõǾî ÀÖÁö ¾ÊÀ¸¸é Á¦¾î ¼Û½ÅÀÌ ¾ø´Ù. | |
´ÜÃß Ç¥¸é¿¡ ³ªÅ¸³ª´Â ¹®ÀÚ¿ÀÌ´Ù. ¼³Á¤µÇÁö ¾Ê¾ÒÀ¸¸é µðÆúÆ®°ªÀÎ ¿ø·¡´ë·Î°¡ Ç¥½ÃµÈ´Ù. | |
´ÜÃß Ç¥¸é¿¡ ³ªÅ¸³ª´Â ¹®ÀÚ¿ÀÌ´Ù. ¼³Á¤µÇÁö ¾Ê¾ÒÀ¸¸é µðÆúÆ®°ªÀÎ Äõ¸®Àü¼ÛÀÌ Ç¥½ÃµÈ´Ù. | |
µðÆúÆ®°ªÀÌ´Ù. ÀÌ Á¦¾î´Â óÀ½¿¡ °ªÀ» »ý¼ºÇÒ ¶§³ª »ç¿ëÀÚ°¡ Àç¼³Á¤ ´ÜÃ߸¦ Ŭ¸¯ÇßÀ» ¶§¸¸ µð½ºÇ÷¹À̵ȴÙ. |
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº HTML 4.0°ú (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼ Á¤ÀǵǾú´Ù.
<FORM name="formName" action="http://koxo.com/lang/js/object/exp/xsubmit.cgi"> ÅؽºÆ® ÀÔ·Â <INPUT type="text" name="text1" value="ÅؽºÆ® ÀÔ·Â ÇÊµå °ª"><BR> <INPUT type="checkbox" name="chk1" value="ü±×¹Ú½º ÇÊµå °ª 1">ü±×¹Ú½º 1 <INPUT type="checkbox" name="chk2" value="ü±×¹Ú½º ÇÊµå °ª 2" checked>ü±×¹Ú½º 2<BR> <INPUT type="radio" name="radio1" value="·¹µð¿À ÇÊµå °ª 1">·¹µð¿À 1 <INPUT type="radio" name="radio1" value="·¹µð¿À ÇÊµå °ª 2" checked>·¹µð¿À 2<BR> ¾ÏÈ£ ÀÔ·Â <INPUT type="password" name="psw" value="¾ÏÈ£ ÀÔ·Â ÇÊµå °ª"><BR> <INPUT type="hidden" name="hiddenObj" value="°¨ÃçÁø °ª"> <BUTTON name="buttonObj" value="´ÜÃß°ª 1">´ÜÃß1</BUTTON> <INPUT type="button" name="but2Obj" value="´ÜÃß°ª 2"> <INPUT type="reset" name="reset" value="Àç¼³Á¤"> <INPUT type="submit" name="submit" value="¼Û½Å´ÜÃß"> </FORM> <DIV id=showA>°á°ú Ç¥½Ãâ</DIV> <SCRIPT> str=''; for (i=0;i< formName.elements.length;i++){ str+='<SPAN style=width:100>'+formName.elements[i].type+'</SPAN>'; str+='<SPAN style=width:100>'+formName.elements[i].name+'</SPAN>'; str+='formName.elements['+i+'].value='+formName.elements[i].value+'<BR>'; } showA.innerHTML=str; function showIt(){ } </SCRIPT>