1$("#complexConfirm").confirm({
2 title:"Delete confirmation",
3 text:"This is very dangerous, you shouldn't do it! Are you really really sure?",
4 confirm: function(button) {
5 alert("You just confirmed.");
6 },
7 cancel: function(button) {
8 alert("You aborted the operation.");
9 },
10 confirmButton: "Yes I am",
11 cancelButton: "No"
12});