Retrieving Data From formData in Rails jquery-file-upload

Posted by CanCeylan on Stack Overflow See other posts from Stack Overflow or by CanCeylan
Published on 2012-12-19T17:02:05Z Indexed on 2012/12/19 17:03 UTC
Read the original article Hit count: 136

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ruby-on-rails