bootstrap modal on hide event
$('#myModal').on('hidden.bs.modal', function (e) {
// do something...
});
bootstrap modal on hide event
$('#myModal').on('hidden.bs.modal', function (e) {
// do something...
});
close bootstrap modal with javascript
$('#myModal').modal('hide');
non dismisal modal bootstrap
If using JavaScript then:
<script>
$('#myModal').modal({
backdrop: 'static',
keyboard: false
})
</script>
or in HTML:
<a data-controls-modal="your_div_id" data-backdrop="static" data-keyboard="false" href="#">
bootstrap modal prevent close
$('#myModal').modal({backdrop: 'static', keyboard: false})
bootstrap modal popup clear data
$('#yourModalName').on('hidden.bs.modal', function(event) {
$('#yourModalName').empty();
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us