Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

modal.hide not working

function hideModal() {
  $("#myModal").removeClass("in");
  $(".modal-backdrop").remove();
  $('body').removeClass('modal-open');
  $('body').css('padding-right', '');
  $("#myModal").hide();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #working
ADD COMMENT
Topic
Name
7+5 =