rezamalik15

Untitled

Oct 9th, 2023
906
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.87 KB | None | 0 0
  1. <script type="text/javascript">
  2.         function deleteConfirm(object){
  3.             Swal.fire({
  4.                         title: 'Are you sure?',
  5.                         text: "You are about to delete this Todo!",
  6.                         icon: 'warning',
  7.                         showCancelButton: true,
  8.                         confirmButtonColor: 'red',
  9.                         cancelButtonColor: 'blue',
  10.                         confirmButtonText: 'Yes, delete it!'
  11.                         }).then((result) => {
  12.                             if (result.isConfirmed) {
  13.                                 Swal.fire(
  14.                                 'Deleted!',
  15.                                 'Your file has been deleted.',
  16.                                 'success'
  17.                                 )
  18.                             }
  19.                         })
  20.         }
  21.     </script>
Advertisement
Add Comment
Please, Sign In to add comment