Skip to content

jperler/bootstrap-generic-popups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

bootstrap-generic-popups

Simple jQuery plugin for Twitter Bootstrap to allow for the creation of generic popups. The idea was to replicate Javascript's alert and confirm functionality using Bootstrap's modal.

$.BootstrapGenericPopups.confirm({
  msg: "Are you sure?",
  title: "Confirm",
  confirm_text: "Yes",
  deny_text: "No",
  confirm: function() { doSomething(); }),
  deny: function() { doSomethingElse(); })
})

$.BootstrapGenericPopups.alert({
  msg: "Something has happened.",
  title: "Alert"
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published