How to use Jquery Ajax to upload files with uploading progress
get single file
1 | let data = $('input[tpye=file]')[0].files[0] |
pakage uploading progress xhr function
1 | function onprogress(){ |
use $.ajax() to upload
1 | $.ajax({ |
1 | let data = $('input[tpye=file]')[0].files[0] |
1 | function onprogress(){ |
1 | $.ajax({ |