jquery - Using bootbox the show event is not fired -


I am not able to catch show events for the dialog for the dialog to bootbox.confirm to make some CSS adjustments.

I tried things like the following but did not succeed:

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

This should be the bootbox 4.xx and Bootstrap 3.xx for you:

  var box = bootbox.dialog ({message: '', title: '', button: {}, show: wrong}); Box.on ("show.bs.modal", function () {warning ('this worked!');}); box.modal ('show');   

or like it:

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

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -