On Mar 6, 2:24 pm, Renato Bezerra <bezerra.ren...@gmail.com> wrote: > $('#button').click(funtion(){ > $('#fileName').val(''); > > }); > > In the Firefox it works, but in the IE7 don't works.
I believe this is a security issue, where the browser does not allow you to set the value for a file input, because some malicious script might send a different file than you selected by setting the value of the input.