File upload progress bar with jQuery

前端 未结 9 1707
野的像风
野的像风 2020-11-22 08:52

I am trying to implement an AJAX file upload feature in my project. I am using jQuery for this; my code submits the data using AJAX. I also want to implement a file upload p

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-22 09:43

    If you are using jquery on your project, and do not want to implement the upload mechanism from scratch, you can use https://github.com/blueimp/jQuery-File-Upload.

    They have a very nice api with multiple file selection, drag&drop support, progress bar, validation and preview images, cross-domain support, chunked and resumable file uploads. And they have sample scripts for multiple server languages(node, php, python and go).

    Demo url: https://blueimp.github.io/jQuery-File-Upload/.

提交回复
热议问题