input type=file为什么不能通过js来修改值的出处

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

给客户解释,为什么不能通过javascript来修改input type=file这个控件的值。

最终从微软的msdn上找到了。

https://msdn.microsoft.com/zh-cn/hh466236


input type=fileThe value, a file name, typed by the user into the control. Unlike other controls, this value is read-only.

转载于:https://my.oschina.net/u/133911/blog/388870

你可能感兴趣的:(python)