Answers for "bootstrap if else modal"

C#
1

bootstrap modal show event

$('#code').on('shown.bs.modal', function (e) {
  // do something...
})
Posted by: Guest on June-03-2021
0

how to check if bootstrap modal is open

$('#myModal').is(':visible');   
 $('#myModal').data('bs.modal').isShown ;        
 $('#myModal').hasClass('in');
Posted by: Guest on August-06-2021

C# Answers by Framework

Browse Popular Code Answers by Language