mercredi 24 juillet 2019

How to save multiple file reference in jquery and then send them on server through ajax?

I have one requirement where i have to save 10 users registration. Each user have 2 input files form form field.Now the scenario is I am using only one form that have these fields Name Email Number Passport Image(Type File) National ID Image(Type File) etc

when user fill all the form the request will not go to server I want to hold until all 10 user's data i get but problem is i am unable to hold type file data at client side? I need suggestions about how to hold images at client side every time when one user form will be filled then click on add the form will be reset for new user how to save previous data especially files?

i have tried base64 conversion for images



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire