¡ÒÃÊÃéÒ§¿ÍÃìÁª¹Ô´á¹º File
¡ÒÃÊÃéÒ§ input type file ¨Ñ´à»ç¹¤ÓÊÑ觷ÕèÊÓ¤Ñã¹Html â´Âãªéà¾ÔèÁä¿ÅìṺ¹ÒÁÊ¡ØŵèÒ§æ ä´éá¡è pdf , zip , ppt , png ,gif, jpeg , jpg, rar,doc à»ç¹input type file ·Õèãªé㹡ÒÃṺä¿ÅìàÍ¡ÊÒÃËÃ×Íä¿ÅìÀÒ¾ ·Ø¡¹ÒÁÊ¡ØÅ
Tag
ª×èÍá·ç¡ | input |
µÓá˹è§á·ç¡ | ÍÂÙèÀÒÂã¹á·ç¡ <form>...</form> |
ÃٻẺ¡ÒÃãªéá·ç¡ | <input type="value" name="ª×èͪèͧ¡ÃÍ¡¢éÍÁÙÅ"> |
á͵·ÃÔºÔǵì | type ª¹Ô´¢Í§¡ÒÃÃѺ¢éÍÁÙÅ |
¤èÒ value | file µÑÇàÅ×͡Ẻà¾ÔèÁä¿ÅìṺ¹ÒÁÊ¡ØŵèÒ§æ |
µÑÇÍÂèÒ§¡ÒÃãªé§Ò¹
<body>
<form name="input">
<b>Ṻä¿Åì ?</b> <br>
<input type ="file" name="File">
</form>
</body>
<b>Ṻä¿Åì ?</b> <br>
<input type ="file" name="File">
</form>
¡ÒÃáÊ´§¼Å