Answers for "modals js"

9

onclick open modal jquery

$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Posted by: Guest on February-12-2020
3

onclick open modal jquery

$('#myModal').modal('show');
Posted by: Guest on February-12-2020
3

jquery modal on show + target button

$('#delete-file-modal').on('show.bs.modal', function (event) {
    console.log(event.relatedTarget);
});
Posted by: Guest on August-19-2020
0

how to make popup modal in jquery with example

<!-- Modal HTML embedded directly into document -->
<div id="ex1" class="modal">
  <p>Thanks for clicking. That felt good.</p>
  <a href="#" rel="modal:close">Close</a>
</div>

<!-- Link to open the modal -->
<p><a href="#ex1" rel="modal:open">Open Modal</a></p>
Posted by: Guest on October-10-2020
-1

onclick open modal jquery

$('#my-modal').modal({
    show: 'false'
});
Posted by: Guest on February-12-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language