jeudi 29 octobre 2015

how to detect when cancel upload file on mobile by javascript?

Im making upload image from mobile to website. When user click on upload button i will disable "save" button until image is uploaded. But when user cancel upload after click on upload button, i dont know how to detect that event to enable "save" button. I found this solution How to detect when cancel is clicked on file input? But It's only work on desktop. On mobile, cancel action is total different.

Aucun commentaire:

Enregistrer un commentaire