使用bootbox不会触发显示事件

时间:2014-04-22 15:59:55

标签: javascript jquery twitter-bootstrap bootbox

我尝试了以下内容来捕获bootbox.confirm对话框的show事件,以便在显示之前对对话框进行一些css调整但是没有成功:

$(document).on("show.bs.modal", function (event) {...});
$(document).on("show", function (event) {...});
$(document).on("show", ".bootbox", function (event) {...});

我怎么能抓住它?

0 个答案:

没有答案