How can i get the uuid of an image by clicking on it AFTER upload. See the attached image.
I have found the following html line in my template:
<li class="qq-file-id-2 qq-upload-success" qq-file-id="2" style="">
I add an onClick-Event
<li onclick="selectFile(this)" class="qq-file-id-2 qq-upload-success" qq-file-id="2" style="">
And i get the qq-file-id by following code
function selectFile(vali){
var imageIndex = $(vali).attr('qq-file-id');
alert('Image Index is ' + imageIndex)
}
Instead of the qq-file-id i need the uuid. Where can i obtain this IN MY TEMPLATE after Upload?
getUuid (id) works only in a callback like "onDelete".
Anyone has an idea?
