A multipurpose plugin for alert, confirm & dialog. With rich set of features,
• directly load content via Ajax,
• Auto-close dialog after a specified time,
• prevent Dialog close on background click,
• callback function, and more..
VERSION 1.1.3
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.
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.