ccc

Sweet alert

http://t4t5.github.io/sweetalert/

Debes incluir:
<link rel="stylesheet" type="text/css" href="css/sweet-alert.css">
<script src="js/sweet-alert.min.js"></script>


Ejemplo:

swal({
              title: "Aviso",
              text: "Debes marcar una opción",
              type: "error",
              showCancelButton: false,
              confirmButtonText: "Aceptar",
              closeOnConfirm: false
        });
        return false;

1 comentario: