Bootstrap has a few functions that can be called manually on modals:
You can see more here: Bootstrap modal component
Specifically the methods section.
So you would need to change:
to:
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
You can see more here: Bootstrap modal component
Specifically the methods section.
So you would need to change:
$('#my-modal').modal({
show: 'false'
});
to:
$('#myModal').modal('show');
No comments:
Post a Comment