Organizational Research By

Surprising Reserch Topic

jquery change event to input file on ie


jquery change event to input file on ie  using -'javascript,jquery,internet-explorer,events'

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?

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
    

asked Sep 14, 2015 by ChaFoxall
0 votes
102 views



Related Hot Questions

11 Answers

0 votes
NULL
answered Sep 14, 2015 by FreemanRaead
0 votes
NULL
answered Sep 14, 2015 by Iowlsjfx
0 votes
NULL
answered Sep 14, 2015 by ReiSantacru
0 votes
NULL
answered Sep 14, 2015 by JannetteRich
0 votes
NULL
answered Sep 14, 2015 by ErnStarke
0 votes
NULL
answered Sep 14, 2015 by EltonBalasl
0 votes
NULL
answered Sep 14, 2015 by KristeenWola
0 votes
NULL
answered Sep 14, 2015 by ChadMcCaffer
0 votes
NULL
answered Sep 14, 2015 by AleBinder
0 votes
NULL
answered Sep 14, 2015 by ClaudioStand
0 votes
NULL
answered Sep 14, 2015 by Geri89Zckgge

...