Answers for "how to call modal"

9

onclick open modal jquery

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

call function on modal open

$('#myModal').on('shown.bs.modal', function (e) {
  // do something...
})
Posted by: Guest on June-14-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