Minimal JavaScript Alert Replacement Plugin - jQuery Alert.js

Minimal JavaScript Alert Replacement Plugin - jQuery Alert.js
File Size: 4.14 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Alert.js is a dead simple jQuery plugin which creates a modal-style dialog popup to replace the ugly native JavaScript alert() method.

How to use it:

1. Include jQuery JavaScript library before including the jQuery alert.js script.

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="jquery-alert.js"></script>

2. The JavaScript to display an alert dialog on the web page. That's it. No any additional CSS rules required.

$.alert('hello,world!');

This awesome jQuery plugin is developed by wy-ei. For more Advanced Usages, please check the demo page or visit the official website.