标签:highlight for ide button dial modal func ndt dialog
项目中的模态框在其他浏览器中没有问题,但是在ie9下,show事件不触发
bootbox.dialog({ message: $("#T_BZJ_AccassForm"), title: "<i class=‘fa fa-th red margin-right-5‘></i>"+dialogtitle, className:"modals-border-raduis modal-width-800", buttons: { "取消": { className: "" } } }).on(‘shown.bs.modal‘, function () { //此处不触发 $(‘#T_BZJ_AccassForm‘).show(); }).on(‘hide.bs.modal‘, function (e) { $(‘#T_BZJ_AccassForm‘).hide().appendTo(‘#T_BZJ_AccassEdit‘); }).modal(‘show‘);
后同事发现,只要改为
bootbox.dialog({ message: $("#T_BZJ_AccassForm"), title: "<i class=‘fa fa-th red margin-right-5‘></i>"+dialogtitle, className:"modals-border-raduis modal-width-800", buttons: { "取消": { className: "" } } }).on(‘show.bs.modal‘, function () { $(‘#T_BZJ_AccassForm‘).show(); }).on(‘hide.bs.modal‘, function (e) { $(‘#T_BZJ_AccassForm‘).hide().appendTo(‘#T_BZJ_AccassEdit‘); }).modal(‘show‘);
即可 !
即将
shown.bs.modal改为
show.bs.modal
标签:highlight for ide button dial modal func ndt dialog
原文地址:https://www.cnblogs.com/suiyide/p/9921822.html