homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

jQuery change() event for file input that repeats

5+ Year Member

Msg#: 4598629 posted 2:01 am on Aug 2, 2013 (gmt 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?




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

Msg#: 4598629 posted 11:11 pm on Aug 6, 2013 (gmt 0)

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


WebmasterWorld Senior Member

Msg#: 4598629 posted 6:13 pm on Aug 8, 2013 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved