An open API service indexing awesome lists of open source software.

https://github.com/idered/areyousure

jQuery confirmation plugin
https://github.com/idered/areyousure

Last synced: 10 months ago
JSON representation

jQuery confirmation plugin

Awesome Lists containing this project

README

          

# areYouSure

## Usage

Delete
$('.confirm').areYouSure({message: 'Really ?!'});

In this sample we've definied default message that will be displayed as confirmation.

Delete
$('.confirm').areYouSure({message: 'This message will not be displayed'});

Here we've overrided 'This message will not be displayed' with 'Are you sure?'.

Delete
$('.confirm').areYouSure();

On click "active" class will be added to link.

This is also possible:

$('.confirm').areYouSure({active: 'active'});

## License

Released under MIT license.