Jquery: change event to input file on IE
- by cmedeiros
Hello guys, I already looked all around, and can't find a solution: I have a form to upload files, and it should fire the submit after the file selection.
On FF/Chrome it goes weel, and submit the form after file selection, but I can't do this on ie.
Already tried with click/propertychange but nothing happens. Some code I already tried:
$("#attach").attr("onChange", "alert('I changed')");
$("#attach").live($.browser.msie? 'propertychange': 'change', function(e) { ... });
Any sugestions to I try?
Thanks for any help
Edit1: I think there's a important information, this input file, is created on the fly, because of it I use .live() to bind the event