
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
jquery-confirm
Advanced tools
A jQuery plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.
alerts, confirms and dialogs in one.
v3.3.3
A multipurpose plugin for alert, confirm & dialog, with Super powers.
View Detailed Documentation & Examples
Download the latest release here and use the files within dist
folder.
via CDN:
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script>
via Bower:
$ bower install craftpip/jquery-confirm
via NPM:
$ npm install jquery-confirm
Showing a confirm box.
$.confirm({
title: 'What is up?',
content: 'Here goes a little content',
type: 'green',
buttons: {
ok: {
text: "ok!",
btnClass: 'btn-primary',
keys: ['enter'],
action: function(){
console.log('the user clicked confirm');
}
},
cancel: function(){
console.log('the user clicked cancel');
}
}
});
See Detailed Docs + Example here.
Boniface Pereira & Awesome Contributors.
Please post issues and feature request here Github issues
The $.alert()
, $.confirm()
& $.dialog()
are alias of jconfirm();
.
Checkout the documentation for further information.
(new in 3.3.3)
(new in 3.3.1)
(new in 3.3.0)
(new in 3.2.3)
(new in 3.2.1) *untagged
(new in 3.2.0)
(new in 3.1.1)
(new in 3.1.0)
(new in 3.0.3)
(new in 3.0.1)
(New in 3.0.0) no backwards compatible with v2.
(New in 2.5.1)
(New in 2.5.0)
(New in 2.0.0)
(New in 1.7.9)
(New in 1.7.8)
(New in 1.7.5)
(New in 1.7.3)
(New in 1.7.0)
(New in 1.6.0)
(New in 1.5.3)
jconfirm.record
.(New in 1.5.1)
(New in 1.5.0)
this
.(New in 1.1.3)
$.dialog
alias added.(New in 1.1.0)
content: 'url:loadfrom.html'
.Copyright (C) 2014-2017 jquery-confirm
Licensed under the MIT license.
FAQs
A jQuery plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.
The npm package jquery-confirm receives a total of 4,116 weekly downloads. As such, jquery-confirm popularity was classified as popular.
We found that jquery-confirm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.