form °³Ã¼ÀÇ ³»¿ëÀ» ¼Û½ÅÇÑ´Ù.
ÇʼöÀûÀÎ formObj ÂüÁ¶´Â form °³Ã¼ÀÌ´Ù.
¹Ýȯ°ªÀº ¾ø´Ù.
submit ¸Þ¼µå´Â Á÷Á¢ÀûÀ¸·Î onsubmit À̺¥Æ®¸¦ ¹ß»ý½ÃÄÑ Ã³¸®ÀÚ¸¦ È£ÃâÇÏÁö ¾Ê´Â´Ù. IE5.5 ÀÌÈÄ, sEvent ÆĶó¸ÞÅÍ¿¡ onsubmit¸¦ ÁöÁ¤ÇÏ¿© fireEvent ¸Þ¼µå·Î È£ÃâÇÒ ¼ö ÀÖ´Ù.
°³Ã¼ | script | IE |
---|
ÀÌ ¸Þ¼µå´Â (¿µ¾î)DOM Level 1(Document Object Model Level 1)¿¡¼ Á¤ÀǵǾú´Ù.
<FORM name=fname action="http://koxo.com/lang/js/object/exp/xsubmit.cgi"> <INPUT name=in1 type=text value="ÀÔ·ÂÇʵ尪 1"><BR> <INPUT name=in2 type=text value="ÀÔ·ÂÇʵ尪 2"><BR> <INPUT type=button name=but1 value="´ÜÃß ¼Û½Å" onclick="fname.submit()"><BR> <INPUT type=submit value="submit ¼Û½Å"> <INPUT type=reset value="Àç¼³Á¤"> </FORM>