jQuery Enhanced Alert Plugin Demos

Replace browser dialog (alert, prompt, confirm) with new ones

USAGES:

Alert
$.ea.alert(message[,title[,icon]])

Example:

$.ea.alert("I'm new",'Warning');
Confirm
 $.ea.confirm(message[, title[, callback[, icon]]]) 

Example:

$.ea.confirm('Are your over 18', 'Confirm please', function(r) {
    $.ea.alert(r)
})
Prompt
$.ea.prompt(message[, title[, callback[, icon]]])

Example:

$.ea.prompt('Where are your from ?', 'Answer please', function(r) {
    if (r) {
        alert('I love ' + r + '!')
    }
})

Custom Icon:

There are two default icon values: alert and info.

But you can have more icon by add this code to css file:

.ea.icon_name {
    background: url(path/Image.png);
}