<SCRIPT Language="Javascript"> function initialize(){ document.onLoad=testForm.testText1.focus(); // ¹®¼°¡ ·ÎµùµÇ¸é Æ÷Ä¿½º¸¦ ÁöÁ¤ÇÑ Çʵ忡 ÁØ´Ù. } function clickSub(obj){ obj.value='testText1¿¡¼ textText2 Ŭ¸¯'; // Çʵ带 Ŭ¸¯ÇÏ¸é »õ·Î¿î º¯¼ö°ªÀ» ÁöÁ¤ÇÑ´Ù. obj.onFocus=obj.style.backgroundColor='ffff00'; // ÃÊÁ¡ÀÌ ¿À¸é ¹è°æ»öÀ» º¯°æ½ÃŲ´Ù. } </SCRIPT> <body onLoad="initialize()"> <! ¹®¼°¡ ·ÎµùµÇ¸é ±â´ÉÇÔ¼ö¸¦ È£ÃâÇÑ´Ù.> <FORM name="testForm" action="wformReceive.html" target="win"> <INPUT type="text" name="testText1" size="30" value="Text 1" onFocus="this.style.backgroundColor='ffff00'" onBlur="this.style.backgroundColor=''" onChange="testForm.testText2.click()"> º¯°æÀ¸·Î ´ÙÀ½ ÇÊµå ³»¿ëº¯°æ<BR> <INPUT type="text" name="testText2" size="30" value="Text 2" onBlur="this.style.backgroundColor=''" onClick="clickSub(this)" onChange="testForm.testSubmit.click()"> º¯°æÀ¸·Î ¼Û½Å´ÜÃß Å¬¸¯, ¼Û½Å<BR> <INPUT type="submit" name="testSubmit" value="submit"> </FORM>