Bootstrap modal 'loaded' event on remote fragment

前端 未结 5 782
醉酒成梦
醉酒成梦 2021-02-07 04:26

I\'m currently using Twitter Bootstrap modal component and i have an issue where I use jquery validation plugin on input fields in the content I load remotely using the data-rem

5条回答
  •  终归单人心
    2021-02-07 04:58

    Boostrap 3.3's modal events has the loaded.bs.modal event.

    however in Bootstrap 4's modal events dose not have this event. I would recommend using the shown.bs.modal event as it fires after the CSS has been rendered

提交回复
热议问题