Using JavaScript Dialogs

I have little experience in web development, and I have some problems with confirming actions on the site admin panel. As I know, JS has a standard confirmation dialog, etc. So should I use this to confirm the user’s action, or is it better to write my own modal window?

+4
source share
1 answer

It is better to avoid using alert() prompt()and confirmand use special dialogs. There are many libraries that can be used instead of js dialogs (for example: Angular Material or Bootstrap Modifications )

Also check out this new article: Chromium Policy in the JavaScript Dialog

Have you checked this one yet ?

+4
source

Source: https://habr.com/ru/post/1673981/


All Articles