homepage Welcome to WebmasterWorld Guest from 54.225.57.156
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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
horseatingweeds




msg:4598631
 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?

Thanks

 

DrDoc




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

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

Readie




msg:4600356
 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