Answers for "data dismiss modal jquery css remove"

-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
-1

how to empty table after closing modal using jquery

$('#yourModalName').on('hidden.bs.modal', function(event) {
     $('#yourModalName').empty();
});
Posted by: Guest on December-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language