[Solution found!] 使用输入标签的accept属性。因此,仅接受PNG,JPEG和GIF可以使用以下代码: <input type="file" name="myImage" accept="image/x-png,image/gif ...
確定! 回上一頁