Answers for "calling a modal using a link"

1

call modal by id href

<a href="!#" data-toggle="modal" data-target="#login">
</a>
Posted by: Guest on January-04-2021
8

call function on modal open

$('#myModal').on('shown.bs.modal', function (e) {
  // do something...
})
Posted by: Guest on June-14-2020

Browse Popular Code Answers by Language