I have not much experience in web development and I have some problems with action confirmation on my site admin panel. As I know, JS have standard confirmation dialog etc. So should I use this to confirm user action or it will be better to write custom modal window ?
Asked
Active
Viewed 43 times
1 Answers
4
Better to avoid usage alert()
prompt()
and confirm
and use custom dialogs.
There are many libraries that you can use instead of js dialogs (for example: Angular Material or Bootstrap Modals)
Also check this fresh article: Chromium policy on JavaScript dialogs
Did you already check this?

Community
- 1
- 1

Johan Willfred
- 811
- 7
- 14
-
A pretty good library that I can't stop using is sweet alert [ http://t4t5.github.io/sweetalert] . It provides callback function on confirm/cancel/close. – Antoine Thiry Apr 05 '17 at 06:31