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
--
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.
$('#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.