I have an array of checkboxes containing file names from a directory. What I want is to get attributes of the file whose checkbox is clicked. So far I have managed to get the name of the file selected. Now I want some of its attributes like size,type etc. So is there a way in javascript to convert a string into file object so as to get its attributes?
Aucun commentaire:
Enregistrer un commentaire