Multiple File Upload Widgets on the same form

527 views
Skip to first unread message

Keshav

unread,
Sep 13, 2012, 2:56:31 AM9/13/12
to jquery-f...@googlegroups.com

Hi there

I have to use multiple instance of upload script. I added id for input field as given in files

All thing works fine but during upload images preview not displaying.(means download html not loading)

Thanks

Tony Abou-Assaleh

unread,
Sep 14, 2012, 12:35:14 AM9/14/12
to jquery-f...@googlegroups.com
Stating the obvious, just in case. Have you looked at the wiki page at:


You'll need to provide more info, preferably a demo or a jsfiddle, for the group member to be able to help you.

Cheers,
TAA

-- 
Tony Abou-Assaleh, PhD
Co-founder and CTO, TitanFile Inc.

151 Charles St. W., Suite 100, Kitchener ON Canada N2G 1H6


--
You received this message because you are subscribed to the Google Groups "jQuery-File-Upload" group.
To post to this group, send email to jquery-f...@googlegroups.com.
To unsubscribe from this group, send email to jquery-fileupl...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tom McGee

unread,
Jul 10, 2013, 2:37:42 PM7/10/13
to jquery-f...@googlegroups.com
That wiki page is no longer valid. It asks you to look for:

$('#fileupload').fileupload();

But that line doesn't exist. Maybe in an older version? In the current version there is this:
// Initialize the jQuery File Upload widget:
$('#fileupload').fileupload({
// Uncomment the following to send cross-domain cookies:
//xhrFields: {withCredentials: true},
url: 'functions/'
});

// Enable iframe cross-domain access via redirect option:
$('#fileupload').fileupload(
'option',
'redirect',
window.location.href.replace(
/\/[^\/]*$/,
'/seminary/cors/result.html?%s'
)
);

plus numerous other references to the '#fileupload' ID, each one of which would have to be replaced with an .each. loop or using (this) or something.

I tried creating form widgets with separate IDs, #fileupload and #fileupload2. They display and upload properly, but on page reload they all show each other's files in the preview panel.


bene...@gmail.com

unread,
Sep 16, 2013, 6:40:10 PM9/16/13
to jquery-f...@googlegroups.com
Hello,

Finally, did you found a solution for Multiple File Upload Widgets on the same form??

Regards.

ben
Reply all
Reply to author
Forward
0 new messages