https://github.com/idered/areyousure
jQuery confirmation plugin
https://github.com/idered/areyousure
Last synced: 10 months ago
JSON representation
jQuery confirmation plugin
- Host: GitHub
- URL: https://github.com/idered/areyousure
- Owner: Idered
- Created: 2012-09-08T21:00:21.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-09-10T11:16:41.000Z (almost 14 years ago)
- Last Synced: 2025-04-03T16:06:04.099Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://demo.idered.pl/jQuery.areYouSure
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.