
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
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.
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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.