php - weui upload multiple images uploaded at the same time
巴扎黑
巴扎黑 2017-06-05 11:09:24
0
2
765

The current problem encountered is the application's weui image upload framework, but the preview part li in the code obtains images of type blob. But there is only one input, submitted to php through ajax, and only the last picture can be obtained

巴扎黑
巴扎黑

reply all(2)
習慣沉默

What you are receiving is probably a string of characters. Ajax upload files either use formajax.js or formdata object.
The key value for multiple words is img[].

巴扎黑

Your js is definitely not good. . . To traverse the file input, take out all the files and upload them again. . Or submit the form directly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template