Pre-Populate HTML form file input

前端 未结 1 557
庸人自扰
庸人自扰 2020-11-28 15:34

I have a VBScript that goes over an HTML form, fills it with fixed values and then submit it. It works fine so far, but now i need to set the location of a file that is goin

相关标签:
1条回答
  • 2020-11-28 16:09

    No. This is not possible.

    Browsers block against setting the value attribute on input of file type for security reasons so that you can't upload a file without the user's selected any file himself.

    0 讨论(0)
提交回复
热议问题