I have looked for a while, but I can\'t find a solution for this. I want the following:
Try this
$('#model1').modal('hide'); setTimeout(function(){ $('#modal2').modal('show'); },400);