I want to set path for the File Input(<Input type=file>). So that it refers the path that I mentioned in the Code.
Printable View
I want to set path for the File Input(<Input type=file>). So that it refers the path that I mentioned in the Code.
VB client:
Not sure what you are trying to do, but it is usually:
Input Type=, Value= So maybe:
<INPUT TYPE= File, VALUE= Path>
For example: <INPUT TYPE= File VALUE= C:\MyFiles\somefile.fild>
It's not possible for security reasons. Since you can automatically submit a form using JavaScript, making it possible to set the file path would allow you to upload any file from the client to your server without any user interaction.