Alex Rivera | Logout

Files input change event fires only once

Asked 2011-08-24T17:22:20.707
14

I've made a small script using some of the HTML5 files features, which allows you to select one or more files, and each time it will write the name of the file(s). Everything works as it should, only the event to detect the value change of the files input fire only once, so how can I make it fire every change and not only on the first change?

By the way, here is what I made: http://tamir.netspot.co.il/html5/files/

Edit
Report

1 Answer

0

None of the above worked for me, I actually had to create a new "dummy" file input field each time it was changed - allowing me to capture the change event again.

The process for me was:

OnChange - move file input to another element - create a new file input to capture the change event again

answered 2013-07-14T11:10:00.097

Your Answer