Welcome to WebmasterWorld Guest from 54.161.110.186

Forum Moderators: open

Message Too Old, No Replies

jQuery change() event for file input that repeats

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

5+ 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
11:11 pm on Aug 6, 2013 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Which jQuery version? Does this happen in all browsers, or just some?
6:13 pm on Aug 8, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ 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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month