EDIT:
After a better understanding of what you were looking for, I hacked another Demo where (from your JS) you can access the elements individually.
What I did was use the File API and File Readers :
Add an event handler to the input: $("#fileInput").on("change", processFiles);β
In your event handler: event.target.files to access the FileList Object
Use FileReader: var reader = new FileReader(); to read a file
You can read files in several ways (binary, text, URL, etc.), I chose the data URL: reader.readAsDataURL(file);
Add callback from FileReader reader.onload = function(){...};
In the callback, push the result: event.target.result into an array
From there you can do whatever you want!
I just sent the data to the echo server and then created the links with the answers, Check It .
source share