• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Catatan Masalah-Masalah Modal Bootstrap

Kepala Suku

Web & Mobile Developer
Staff member
#1
Cara handel event saat modal ditutup
JavaScript:
$('#modal-ongkos').on('hidden.bs.modal', function () {
   $("#modal-booking-finish").modal('show')
});
 

Kepala Suku

Web & Mobile Developer
Staff member
#2
Cara agar modal bootstrap hanya bisa ditutup dengan klik tombol close. Klik di luar modal tidak bisa menutup modal.
JavaScript:
$("#modal-invoice").modal({backdrop: 'static', keyboard: false, show: true})