Ajax 上传input type file 文件

 Html:

<div class="attach-img">
<label><input type="file" id="imgUpload" class="upload" /></label>
</div>

Js:

        

C#:

UI:

努力学习。

原文地址:https://www.cnblogs.com/shy-huang/p/6831599.html