Как установить путь к файлу в file control.
<input type="file" id="myFile">
Set Path I will try to add file path from javascript but it's not working. What I have tried: function myFunction() { var x = "D:/file/test.txt" ; document.getElementById("myFile").value = x; }