changing value of <input type=file">

后端 未结 2 1753
-上瘾入骨i
-上瘾入骨i 2020-12-12 02:27

I want to know how to programmatically change the value of

I know that this is disabled for security reasons, but is there a

相关标签:
2条回答
  • 2020-12-12 03:15

    No, there isn't a workaround for it. It would be a pretty rubbish security measure if there was.

    0 讨论(0)
  • 2020-12-12 03:16

    If there was a workaround that works now, it certainly will be disabled in the future. As you said yourself, you cannot change the value of an file input element due to security restrictions.

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