Adding Alerts

Alerts were added at the time of registration, login, resume generation, certificate generation. For this, sweet alerts have been used.
SweetAlert was created by Tristan Edwards. These alerts are very easy to use.
SweetAlert also comes with some simple methods that you can call: setdefault, close, showinput error, enable and disable buttons.
Initialize the plugin by referencing the necessary files:


Call the sweetAlert-function after the page has loaded

title: “Error!”,
text: “Here’s my error message!”,
type: “error”,
confirmButtonText: “Cool”


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s