$("selector").on('click',function(){

bootbox.confirm({
title : "请确认",
buttons: {
confirm:{
label:'确认',
className:'btn-primary'
},
cancel:{
label:'取消',
className:'btn-default'
}
},
message:'确认?',
callback:function(result){
if(result){
alert("作废成功!");
}
},
className:"bootbox-sm"
});
});

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-12-08
  • 2021-12-20
  • 2021-11-25
相关资源
相似解决方案