ÆÄÀϾ÷·Îµå(ã¾Æº¸±â¹öÆ°)¸¦ À̹ÌÁö·Î º¯°æ Çϱâ |
|
|
![](icon/private_name/1.gif) |
14³â Àü |
°£´Ü ÇÏ°Ô ¼³¸íµå¸®ÀÚ¸é
type = file ÀÎ input ű׸¦ ¼ûÅ°°í À̹ÌÁö ÁÖ¼Ò¸¦ ¹ÞÀ»¼öÀÕ´Â text ¹Ú½º¸¦ ¸¸µé°í
À̹ÌÁö¸¦ Ŭ¸¯½Ã¿¡ À̺¥Æ®°¡ ½ÇÇàµÇ¾î file1 À̶ó´Â file À» ½ÇÇà½ÃÄÑ file2 ¿¡ ÇØ´ç °æ·Î¸¦
³Ö¾îÁֽô °Í ÀÔ´Ï´Ù.
¿¹Á¦)
<input type=file name='file1' style='display: none;'>
<input type='text' name='file2' id='file2'>
<img src='À̹ÌÁö°æ·Î' border='0' onclick='document.all.file1.click(); document.all.file2.value=document.all.file1.value'> |
|
̵̧ : 305 |
̵̧
¸ñ·Ï
|
|