Use JS to write a function for uploading images. How to use ?
Writing in JS, do you want it to be asynchronous?
Well,
I only use the FileUpload control to write, and now I want to use the html control to implement the image upload function
<img src=""/〉<input type="file"/><input type="button" value="上传图片" onclick="upload()"/>
Backend
Request.Files["file1"].SaveAs()
in IE It is different from the styles on Google and Firefox. Please pay attention to the compatibility of the browser when using it.
This is not what js can do.