HTML File input JS events

后端 未结 3 1346
南笙
南笙 2021-02-04 02:24

Are there any JavaScript events in type=file input? I.E. I would like to add an extra file input upon selecting file in one of allready created:

<
3条回答
  •  醉梦人生
    2021-02-04 02:53

    I think you mean type=file ?

    The only meaningful way is use both onclick and onchanged and keep track of the contents to see if it is changed.

提交回复
热议问题