0

Bootstrap modal window In Bootstrap modal, after clicking outside modal window, Window closes but the gray color is not going gray color Image

Lalji
  • 17
  • 1
  • 11
  • Do you have any messages in console? – Maher Fattouh Feb 22 '17 at 13:21
  • "Application Error: There was a problem getting data for the application you requested. The application may not be valid, or there may be a temporary glitch. Please try again later" I am getting this error only – Lalji Feb 22 '17 at 13:24

1 Answers1

0

Try adding this script which will remove the backdrop from the window on close. or put your modal out side any div but inside body tag only

$(document).ready(function(){
        $("#yourModalId").on("hidden.bs.modal",function(){
          $(".modal-backdrop").remove();
        }).on("hide.bs.modal",function(){
          $(".modal-backdrop").remove();
        });
      })
Anil Panwar
  • 2,592
  • 1
  • 11
  • 24