I have looked for a while, but I can\'t find a solution for this. I want the following:
Problem with data-dismiss="modal"
is it will shift your content to left
I am sharing what worked for me, problem statment was opening pop1
from pop2
JS CODE
var showPopup2 = false;
$('#popup1').on('hidden.bs.modal', function () {
if (showPopup2) {
$('#popup2').modal('show');
showPopup2 = false;
}
});
$("#popup2").click(function() {
$('#popup1').modal('hide');
showPopup2 = true;
});