1. Effects
2. Process
2.1 Introduced: bootbox.min.js
2.2 Popup page
bootbox.confirm({
message: "Logout the current user?",
buttons: {
confirm: {
label: "Confirm"
},
cancel:{
label: "Cancel"
}
},
callback: function(result) {
if(result) {
location.href = "${pageContext.request.contextPath }/destroyUser.action";
}
}
});