If you find the lines here:
// Add the rest of the formData for (i in settings.formData) { formData.append(i, settings.formData[i]); }
And add in this code:
var parentform = $('#' + settings.id).closest('form'); $(parentform).find('input[type="text"], input[type="hidden"], select, textarea').each(function() { formData.append(this.name, this.value); } );
It will automatically add other (non-file) form inputs to the upload data.
unable for multiple upload, like my ss -> http://prntscr.com/2fyxni
ReplyDeletefixed form multiple upload
ReplyDeletefile.queueItem.find('input[type="text"], input[type="hidden"], select, textarea').each(function() {
formData.append(this.name, this.value);
}
);
Thank you for all of your work on this web page.
ReplyDeleteหวยไทยรัฐ
หวยไทยรัฐ
หวยไทยรัฐ
unbelievable.
ReplyDeleteหวยไทยรัฐ
หวยไทยรัฐ
หวยไทยรัฐ
หวยไทยรัฐ