jQuery Plugin: Confirmation

| Comments

I needed a simple way in a project to generate a common confirmation dialog for Links which fire delete operations. Cause we are already using jQuery and Bootstrap from Twitter, I decided to create a jquery Plugin which uses the Bootstrap Popovers to confirm these actions.
It is pretty simple, when a user clicks on a link the Popup appears. The red button in the popup automatically uses the anchor text but the message and the cancel button text can be set through options.

message: '<strong>Do you really want to delete this entry</strong>',
cancelButton: 'Cancel'

If anyone wants to use it: jquery.bootstrap.confirm.popover

Copyright © 2014 - Damien Antipa. Powered by Octopress