javascript - How to choose a file and save the path's file via JS -
this question has answer here:
i want click on button open window , choose file. i'm using code choosing:
<button onclick="document.getelementbyid('file-input').click();">open</button> <input id="file-input" type="file" name="name" style="display: none;" />
how can save path? (for example c:\temp\song.mp3
)
i dont need download file. it's local file.
Comments
Post a Comment