Alert javascript?

The alert() method displays an alert box with a specified message and an OK button.An alert box is often used if you want to make sure information comes through to the user.If you are getting bored with the built in alert function ,then go for sweetAlert.
Initialize the plugin by referencing the necessary files:

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

Call the sweetAlert-function after the page has loaded

     title: "Error!",
     text: "Here's my error message!",
     type: "error",
     confirmButtonText: "Cool"

More Info: SweetAlert


My Name is Dileep Singh, Noder, Javascript Lover & NoSql Developer, Fitness Freak, Love to travel new places, learning photography & Music Manic ♯ ♩ ♬

Posted in Javascript, Node.Js Tagged with: