Answers for "solved modal no showing bootstrap"

1

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="#">
Posted by: Guest on January-22-2021
0

bs modal is working but not visible

<!-- Modal -->
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel">Modal header</h3>
  </div>
  <div class="modal-body">
    <p>One fine body…</p>
  </div>
  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
    <button class="btn btn-primary">Save changes</button>
  </div>
</div>

<a class="btn" data-target="#myModel" role="button" data-toggle="modal">Launch demo modal</a>
Posted by: Guest on January-28-2021

Code answers related to "solved modal no showing bootstrap"

Browse Popular Code Answers by Language