Glow upload filedata

Hi ,

i am trying create a group by using the api with including  group avatar . 

<div id="captionfile">

<input type="file" name="captionfileContainer">


</div>

<script>

$("#captionfile").glowUpload({
    
      uploadUrl:"$core_v2_uploadedFile.GetUploadUrl($core_v2_uploadedFile.CreateContextId())",

                height:50,

                width:200  
}).on({
    glowUploadBegun: function(e) {

    },
    glowUploadComplete: function(e, file) {
        
        console.log(file);
     
    },
    glowUploadFileProgress: function(e, details) {
        console.log(details.percent);
    }
})



        
</script>

How can i get the file data of the uploaded file ?

if i use $("#captionfile").glowUpload('val'), which is giving only filename 

Parents Reply Children
No Data