Can I have more options to send to url: using ajaxFileUpload?
I use $ .ajaxFileUpload (), and when I ajax fileupload, I also want to pass an additional parameter. Im only passes a parameter called "file", with the file you upload to it. The settings are as follows:
url:'photo.php?mode=upload',
secureuri:false,
type: 'post',
fileElementId:'file',
dataType: 'json',
success: function (data, status)
tried to add data: {param: '1'}, but it doesn't skip anything.
Karem source
share