Custom bootstrap modal window

$ ( "className.") the Click (function () {. 
            $ ( '# MyModel') Modal ( 'Show');. 
              Alert ( 'modal box open'); 
        }); 

   $ ( '# MyModel') .on ( 'hide.bs.modal', function () { 
           Alert ( 'modal box closed "); 
   });

  Applicable scene: a pop-up box pop-up box when multiple use dynamic assignment will be displayed before the assignment of the data before re-modify the value, you can clear the specific ID value to be assigned at the time to close the window after the acquisition closed event

Guess you like

Origin www.cnblogs.com/JAYIT/p/11287939.html