Skippy
0
Q:

jquery modal on show + target button

$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
4
$('#delete-file-modal').on('show.bs.modal', function (event) {
    console.log(event.relatedTarget);
});
3

<!-- Trigger/Open The Modal -->
<button id="myBtn">Open Modal</button>

<!-- 
The Modal -->
<div id="myModal" class="modal">

  <!-- Modal 
content -->
  <div class="modal-content">
    
<span class="close">×</span>
    <p>Some text in the 
Modal..</p>
  </div>

</div> 
3

New to Communities?

Join the community