问题描述
如何在使用文件上传控件的同时进行文件验证?我如何检查选择文件是否选择了文件?我如何检查文件扩展名是否有效?
How to do file validation while using file upload control?how I have to check the choose file whether the file is choosen or not? how I have to also check the file extension is valid or not?
推荐答案
how-to-validate-file-type-in-file.html [ ^ ]
检查: 文件上传客户端和服务器端的控制验证 [ ^ ]