<input type="file" name="prod_detail_image[]" id="prod_detail_image"
value="" multiple="multiple" onblur="validatebutton();" />
I can choose multiple files in the file input. In onblur event I need to get the file values which was selected. I am getting only one value. I need to get the array values of images.
There are many other similar questions on SO. Here is a simple way to get all the filenames
However this will only work in browsers that support HTML5