Possible Duplicate:
“On file dialog cancel” event in JavaScript
Is there a listener for when a user clicks cancel instead of done on a file upload dialog box?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As others have mentioned, the input upload tag can’t do this.
I have had good experiences using this 3rd party JS uploader. It doesn’t use Flash so is suitable for mobile devices also.
You can set:
In the initial setup call. See the instructions on the Github page for more details.