c# - Bootstrap multiple modal confirm block parent modal -


i implement delete row confirmation modal.  

i'm try used "data-backdrop="static"", operation not help.
example: "http://jsfiddle.net/kqxqm/"
if open "fg modal" can close "bg modal". how implement block parent modal("bg modal") when open child modal.

if you're saying want prevent parent modal closing while child modal open, this..

$('#mymodal2').on('show', function() {     $('#mymodal').css('opacity', .5);     $('#mymodal').unbind(); }); $('#mymodal2').on('hidden', function() {     $('#mymodal').css('opacity', 1);     $('#mymodal').removedata("modal").modal({}); }); 

bootply demo


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -