小编Vin*_*K D的帖子

如何创建仅接受pdf和doc的文件字段

我需要使用输入类型文件只接受pdf和doc文件.

<input type="file" id="test" name="test" accept="application/msword,text/plain, application/pdf"/>
Run Code Online (Sandbox Code Playgroud)

这是在Windows中工作,但在ubunthu中,它只接受pdf文件

html cross-platform http-accept-language

7
推荐指数
1
解决办法
1万
查看次数