Rohanjoy Bhattacharya

Rohanjoy Bhattacharya

  • NA
  • 231
  • 101.3k

Save multiple base64 image to a folder

Sep 23 2017 6:23 AM
Hey guys i need help. I am really stuck bad at this. My requiremt is to upload multiple documents and save it to a folder.
 
Here as you can see i have html buttons as Front and back for respective document and onclick it will open a popup and there we will upload the respective file.
 
I have to upload all the documents and then hit a submit button and it will save all the documents together.
 
I am trying this with javascript. Please help me in saving the documents to the folder.
 
 
 
 
$(".bfd-ok", modal1).on("click.bfd", function () {
debugger;
alert('Upload clicked');
var event = $.Event("files.bs.filedialog");
//debugger;
event.files = loadedFiles;
modal1.trigger(event);
//alert(event);
done = true;
modal1.modal("hide");
});
 
Here is my JS code to get the file. 
 

Answers (1)