Skip to content

Hacko-nPacko/bootstrap-confirm-button

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Bootstrap Confirm Button

A simple button to comfirm a task. Instead of using rude modals that interrupt a user's workflow, let's use a inline unobtrusive button instead. Designed especially for devices with small screen.

Compatible with Bootstrap 3!

Ispired by: http://eli.eliandlyndi.com/2011/10/10/using-jquery-to-provide-an-inline-confirmation-on-buttons/

#usage:

<a class="btn btn-primary btn-delete-item">Delete</a>
$('.btn-delete-item').confirmButton({msg:"I'm sure!"}, function(e) {
	console.log('Item deleted!');
});

Image

About

A simple button to confirm a task, inline unobtrusive button confirmation.

Resources

Stars

Watchers

Forks

Packages

No packages published