🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Enhanced Alert is a jQuery plugin for replacing the native Javascript alert, prompt and confirm boxes using jQuery UI dialog component.

jQuery-UI alert confirm Dialog prompt

Documentation

enhanced-alert A query ui plugin

This plugin replaces browser dialog (alert, prompt, confirm) with new ones.

Usage

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 + '!')     } }) 

Icon by http://www.icons-land.com/vista-base-software-icons.php


You May Also Like