Skip to content

A multipurpose plugin for alert, confirm & dialog, with Extended features.

License

Notifications You must be signed in to change notification settings

zhuzhiyuan/jquery-confirm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-confirm

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

Installation

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');
    }
});

Demo and Documentation

See Detailed Docs + Example here.

Authors

Boniface Pereira

Issues

Please post issues and feature request here Github issues

jconfirm alias

The $.alert() , $.confirm() & $.dialog() are alias of jconfirm();.

Checkout the documentation for further information.

Copyright and license

Copyright (C) 2014-2015 jquery-confirm

Licensed under the MIT license.

About

A multipurpose plugin for alert, confirm & dialog, with Extended features.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 79.8%
  • CSS 20.2%