How to add a file in FileList
Please help me on this: Update : In console log it is showing as merged but length is still showing the last dragged length Im using up_files = event.originalEvent.dataTransfer.files; to capture the files that are dragged and dropped in a div. For the first time when the user dragged the files , all the files are moving to up_files and the second time if again the files are dropped in a div how can i push those to existing array list instead of clearing the array and insert to upfiles #fileToUpload is a input file id #total is div id sample code : $( '#total' ).bind( 'dragover',function(event)