button to generate plot pheno from plants
[sgn.git] / js / solGS / fileUpload.js
blobe8130d0fb63b5575387604bf246475d57f6a6d5e
3 jQuery(function () {
4         var url = '/solgs/upload/prediction/genotypes';
5         jQuery('#fileupload').fileupload({
6                 url: url,
7                     dataType: 'json',
8                     done: function (e, data) {
9                     jQuery.each(data.result.files, function (index, file) {
10                             jQuery('<p/>').text(file.name).appendTo(document.body);
11                         });
12                 }
13             });
14     });
15