i have an input array to select multiple files.
<input type="file" name="files[]" multiple='multiple'/>
<div id='my_div'>Filenames</div>
How do i get the filenames using jquery? For text types, the map function works
var values=$("input[name='text_string[]']").map(function(){return $(this).val();}).get();
Is there any way to get filenames on clicking div?
$("input[type='file']")