I have a file input:
Function \'foo\' is called only when user chooses some f
I think that the best way if you can change a bit your code, is adding plugins to add files, for example:
http://swfupload.org/
or
http://www.uploadify.com
these are the more common, I'd work with the first and I had no problems.
This will not do exactly what you want, but you can add files in a queue and then cancel them, and you can capture this event...
I know that is not what you was looking for, but is the best solution I can give you
good luck! I hope I've helped you