Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function alerts() {
- swal({ title: "Are you sure you want to delete?", text: "You will not be able to recover this record!", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Delete", closeOnConfirm: false }, function(){ swal("Deleted!", "Employee Record has been deleted", "success"); });
- }
- function success() {
- swal("Warning!","Failed to record leave!", "success")
- }
- </script>
- <form role="form" method="POST" action="http://localhost:8000/CustomerLoyalty">
- <script type="text/javascript">success();</script>
- <script>
- function alerts() {
- swal({ title: "Are you sure you want to delete?", text: "You will not be able to recover this record!", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Delete", closeOnConfirm: false }, function(){ swal("Deleted!", "Employee Record has been deleted", "success"); });
- }
- <script>
- function success() {
- swal("Warning!","Failed to record leave!", "success");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement