Topic: how to display an alert using javascript
                  
                  nskalis
                  free
                  asked 5 years ago
                
hi,
I cannot find an example of displaying an alert via JavaScript, would you be so kind to explain how-to ?
https://mdbootstrap.com/docs/jquery/components/alerts/#triggers
                      
                      Mateusz Łubianka
                      staff
                        answered 5 years ago
                    
Hi @nskalis,
Like you can see in MDB documentation, there is not any option to show alerts via js. Also triggers and methods concern only 'dismiss', 'close'.
You can to check modals or notifications.
https://mdbootstrap.com/docs/jquery/modals/basic/#via-JavaScript https://mdbootstrap.com/docs/jquery/javascript/notifications/#toastshow
Best,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
 - Premium support: No
 - Technology: MDB jQuery
 - MDB Version: 4.14.0
 - Device: all
 - Browser: all
 - OS: all
 - Provided sample code: No
 - Provided link: Yes