samedi 9 mai 2015

Preventing multiple clicks in angularjs

When I want to delete a record from my page I need to show confirmation message before deleting. For this I have used anchor and ng-click='delete()' for deleting such row. Here user can click on anchor multiple times. It is a serious problem because confirmation popup render multiple times. My example is a sample. In my project I have faced too many problems like that.

Aucun commentaire:

Enregistrer un commentaire