Welcome to WebmasterWorld Guest from

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)

Junior Member

10+ Year Member

joined:Jan 4, 2006
votes: 0

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?

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

Senior Member

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

joined:Mar 15, 2002
votes: 0

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

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Dec 13, 2009
votes: 0

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.