This question is locked. New answers and comments are not allowed.
Hi
Could you please let me know how to retrieve the exact t-file element that is being removed ?
I have extra parameters attached to the t-file element but I can't retrieve them because the parameter e does not give me a handle of the element being clicked on.
The file name is not good enough because a user can upload two files with the same file name.
I also tried e.target but it contains the whole upload control html element.
Thanks for your help
Could you please let me know how to retrieve the exact t-file element that is being removed ?
I have extra parameters attached to the t-file element but I can't retrieve them because the parameter e does not give me a handle of the element being clicked on.
function onUploadRemove(e) { var fileName = e.files[0].name;}The file name is not good enough because a user can upload two files with the same file name.
I also tried e.target but it contains the whole upload control html element.
Thanks for your help