Hi
I have been using uploadify (www.uploadify.com) to upload images to my website, and it works beautifully until you try to expand on it a little. Im trying to get it to remove a queued up file from the list once that file has been uploaded. To do this, you would initialize uploadify as such:
$("#fileUpload").uploadify({
'uploader': '/scripts/uploadify.swf',
'cancelImg': '/images/cancel.png',
'script': '/Album/Manage/',
'fileDesc': 'Image Files',
'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
'multi': true,
'auto': false,
'simUploadLimit': 3,
'scriptData': {'album_id':'7'},
onComplete: function(event, queueID, fileObj, response, data){
alert(queueID);
}
});
In the above example, you'd replace alert(queueID)
with $("#fileUpload").uploadifyCancel(queueID)
- I just have the alert to let me know when the event fires - which never happens. I have used IE and Firefox and no difference in either. Does anyone have any experience with this?