Answers for "show hide modal jquery"

9

onclick open modal jquery

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

hide bootstrap modal jquery

$(document).ready(function(){
        $(".btn").click(function(){
            $("#myModal").modal('hide');
        });
});
Posted by: Guest on September-19-2020
1

hide bootstrap modal jquery

$(() => {
  $(".btn").on('click', function(){
    $("#myModal").modal('hide');
  });
});
Posted by: Guest on July-30-2021
0

hide and show modal jquery

$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Posted by: Guest on April-18-2021
-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