How to use Jquery Ajax to upload files with uploading progress
get single file123let data = $('input[tpye=file]')[0].files[0]let file = new FormData()file.append(...
try to pakage ajax by myself
optional paramas:
method: get(default) post
url
data: Allow Type: Object, FormData
dataType: Object(default) , auto translate to urldecode json f...