2019独角兽企业重金招聘Python工程师标准>>>
给客户解释,为什么不能通过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.