javascript - How to choose a file and save the path's file via JS -


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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -