javascript - Remove data from form Data in java script -


this question has answer here:

how can remove appended data form data in java script? using form data uploading file , passing handler. code:

var formdata = new formdata(); var uploadfiles = $("#imagesupload").get(0); var uploadedfiles = uploadfiles.files;  (var = 0; < uploadedfiles.length; i++) {    formdata.append('file', uploadedfiles[i]);  } 

you can't remove data you've appended formdata object. there nothing exposed in api allow this. create new formdata.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -