WOW Alert: A jQuery plugin to override native alert() method
Wow Alert is a simple jQuery plugin that turn default alerts in pretty nice dialog.
How to use
- Just include the file wow-alert.js and wow-alert.css in your html file.
- Run usually the method
alert()
-alert("Something")
- Use the second parameter to set the button's label. -
alert("Something", "OK")
- All done!
Exemple with callback
alert("Hello World!", { label: "YES", success: function () { console.log("User clicked YES"); } });