0

I need to change alert(); return to modal after ajax success. I used this jQuery code : enter link description here

What is the best solution to change bad design alert to nice modal ? Thank you David

David
  • 1
  • 1

2 Answers2

0

You cant change the alert apearance. You have to make your own alert. You can use bootstrap Modal if you want. https://getbootstrap.com/docs/4.0/components/modal/

You can see this topics:

How to change the style of alert box?

Alert Box with CSS

How to change theme for AlertDialog

Alexis Garcia
  • 452
  • 3
  • 15
0

I hope that SweetAlert is best for you: Follow the link