Forum Moderators: open

Message Too Old, No Replies

jQuery change() event for file input that repeats

         

horseatingweeds

2:01 am on Aug 2, 2013 (gmt 0)

10+ Year Member



I've used the .change() function to capture a change even in a file input. It works fine when you choose the file. However, if you try to choose another file, .change() doesn't trigger. Any ideas on how to capture repeated change evens to a file input?

Thanks

DrDoc

11:11 pm on Aug 6, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Which jQuery version? Does this happen in all browsers, or just some?

Readie

6:13 pm on Aug 8, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you checked your browser's error log after you've triggered the change event?

I just tried this in a simple script and I had repeated events firing for a file input.