°³Ã¼ÀÇ ÀÚµ¿¿Ï¼º ÇÒ °ÍÀΰ¡ÀÇ »óŸ¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
off | ÀÚµ¿¿Ï¼ºÇÏÁö ¾Êµµ·Ï ¼³Á¤µÈ´Ù. |
on | ÀÚµ¿¿Ï¼ºÇϵµ·Ï ¼³Á¤µÈ´Ù. off ÀÌ¿Ü¿¡´Â ¾î¶² ¹®ÀÚ¿ÀÌ ³ª¿Íµµ ÀÚµ¿¿Ï¼ºÀ¸·Î ¼³Á¤µÈ´Ù. |
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
AutoComplete´Â form¿¡¼ Ç¥ÇöÀÌ °Á¶(highlight)µÈ´Ù.
AutoCompleteÀ» »ç¿ëÇÒ ¼ö ÀÖ´Â »óÅ·ΠµÇ¸é, ÅؽºÆ®ÇʵåÀÇ °ª(value)À» À§ÇÑ ¾Ï½Ã°¡ Á¦°øµÈ´Ù.
¾Ï½ÃµÈ °ªµéÀº nameÀ̳ª vcard_name¼Ó¼º¿¡ ÁöÁ¤µÈ °ªµé¿¡ ±âÃʸ¦ µÎ°í ¸ÅÇεȴÙ.
AutoComplete°¡ »ç¿ëÇÒ ¼ö ÀÖ´Â »óÅ·ΠµÇ¸é, ÀúÀåµÈ °ªÀÌ ¾ø°í ¾Ï½Ã°¡ Á¦°øµÇÁö ¾Ê´Â´Ù.
AutoComplete¸¦ À§ÇÏ¿© ¿¤·¹¸àÆ®¿¡ ÀÖ´Â °ªµéÀÌ ¸ÅÇεǴ µ¿¾È ºê¶ó¿ìÀú¿¡¼ ÀÌ Á¤º¸¸¦ ºÒÈ°¼ºÈ ½Ãų ¼ö ÀÖ°í, »ç¿ëÀÚ´Â ÇÁ·ÎÇÁÆ®¸¦ ÅëÇÏ¿© ÀúÀåµÇ±â Àü¿¡ °ªÀ» È®ÀÎ ÇØ ÁÙ¼ö ÀÖ´Ù.
AutoComplete¿¡ ÀÇÇÑ Á¤º¸ÀÇ Á¦°øÀº °³Ã¼ ¸ðµ¨(object model)ÀÌ ¾Æ´Ï°í, ÅؽºÆ®Çʵ忡 »ç¿ëÀÚ°¡ ¾Ï½ÃµÈ °ªÀ» ¼±ÅÃÇϱâ Àü¿¡´Â À¥ÆäÀÌÁö¿¡¼ º¸ÀÌÁö ¾Ê´Â´Ù.
ÀÌ ¾ÖÆ®¸®ºäÆ®´Â HTA:APPLICATION¿¡¼ Áö¿øµÇÁö ¾Ê´Â´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®)HTML3.2¿¡ Microsoft °¡ È®ÀåÇÑ °ÍÀÌ´Ù.
<FORM name="fName" autocomplete="on"> <INPUT id="passObj" type="password" autocomplete="off" value="mypass"> <INPUT id="textObj" type="text" autocomplete="on" value="mytext"> </FORM> <SCRIPT> document.write('fName.autocomplete='+fName.autocomplete+'<BR>'); document.write('fName.passObj.autocomplete='+fName.passObj.autocomplete+'<BR>'); document.write('fName.textObj.autocomplete='+fName.textObj.autocomplete+'<BR>'); </SCRIPT>