I've solved, the plugin creates a form in a iframe, where it clones
the input file getting it by the id passed in the constructor.

After line 159 I've addedd:

$('input').clone().appendTo($(form));

this is the piece of code to modify:

154 {
155           // var io = $('#' + frameId);
156                     var form = $('#' + formId);
157                     $(form).attr('action', s.url);
158                     $(form).attr('method', 'POST');
159                     $(form).attr('target', frameId);
NEWLINE  $('input').clone().appendTo($(form));
160            if(form.encoding)
161                     {
162                form.encoding = 'multipart/form-data';
163            }
164            else
165                     {
166                form.enctype = 'multipart/form-data';
167            }
168            $(form).submit();
169        } catch(e)

maybe can be useful for someone :-)

Bye

Reply via email to