Retrieving Data From formData in Rails jquery-file-upload
- by CanCeylan
I am trying to add additional form data by using https://github.com/blueimp/jQuery-File-Upload/wiki/How-to-submit-additional-form-data this tutorial for jQuery-File-Upload plugin in my Rails app.
I'm following the instructions for Setting formData on upload start for each individual file upload.
My problem is, after saving the files with their titles as explained in tutorial, I cannot show them in the final table, because I don't know how to reach the formData's values.
How should I reach the data inside data.formData = inputs.serializeArray(); and post them next to each item ?
Thanks.