sonal malhotra

sonal malhotra

  • 1.6k
  • 410
  • 17.4k

in sweetalert how to change background color in button

Jul 14 2020 3:04 AM
  1. <link href="~/bootstrap-3.3.6-dist/sweetAlert/sweetalert.css" rel="stylesheet" />  
  2. <script src="~/bootstrap-3.3.6-dist/sweetAlert/sweetalert.js"></script>  
  3. <script src="~/scripts/jquery-3.0.0.min.js"></script>  
  4. <script src="~/bootstrap-3.3.6-dist/sweetAlert/sweetalert.min.js"></script>  
  5. <link href="~/bootstrap-3.3.6-dist/css/bootstrap.min.css" rel="stylesheet" />  
  6. <script src="~/bootstrap-3.3.6-dist/sweetAlert/bootstrap.js"></script>  
  7. <script src="~/bootstrap-3.3.6-dist/sweetAlert/bootstrap.min.js"></script>  
  8. swal({  
  9. title: "Are you sure?",  
  10. text: "Are you sure that you want to delete this course " + div + "?",  
  11. type: "warning",  
  12. showCancelButton: true,  
  13. closeOnConfirm: false,  
  14. confirmButtonText: "Yes, delete it!",  
  15. confirmButtonColor: "btn-danger",  
  16. cancelButtonText: "No, cancel !",  
  17. cancelButtonColor: "btn-light"  
  18. },  
  19. function (d1) {  
  20. if (d1) {}  
that button doest not works how to fix
 
i want to change color background in button
 
please how to do

Answers (4)