alerts, confirms and dialogs in one. VERSION 1.5.1
A multipurpose plugin for alert, confirm & dialog, with Extended features.
(New in 1.5.0)
• Keyboard actions (ENTER and ESC)
• Updated DOCUMENTATION
• Control over the dialog via this
• directly load content via Ajax • Auto-close dialog after a specified time • prevent Dialog close on background click • callback function, and more
View Detailed Documentation & Examples
Download the latest release here A full documentation page is included within the release.
copy the css and js files from /dist/
to your project, and link them to your HTML page.
and finally via Javascript run $.alert()
or $.confirm()
.
##Basic Usage
How to respond to user action
$.confirm({
confirm: function(){
console.log('the user clicked confirm');
},
cancel: function(){
console.log('the user clicked cancel');
}
});
See Detailed Docs + Example here.
Please post issues and feature request here Github issues
The $.alert()
, $.confirm()
& $.dialog()
are alias of jconfirm();
.
Checkout the documentation for further information.
Copyright (C) 2014-2015 jquery-confirm
Licensed under the MIT license.