Answers for "bootstrap data-dismiss modal"

-2

data-dismiss= modal in jquery

$(document).ready(function(){
        // Open modal on page load
        $("#myModal").modal('show');
 
        // Close modal on button click
        $(".btn").click(function(){
            $("#myModal").modal('hide');
        });
    });
Posted by: Guest on August-29-2020
0

bootstrap modal don't dismiss

<div class="modal fade" id="myModal" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
Posted by: Guest on September-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language