How to go back to the previous modal in Bootstrap

Asked

Viewed 258 times

0

I’m in a modal, I want to click a button and go back to the previous modal in Bootstrap + Javascript.

  • 1

    post your code

  • Add modal and page code that calls it.

2 answers

1

Be able to solve the problem with the following code :

$('#modalVisualizarTamanho').on('hidden.bs.modal', function (e) {
$('#modalVisualizarComponentes').modal('show');    
});

0

try to use:

$('#modalItensRomaneio').modal('toggle');

Browser other questions tagged

You are not signed in. Login or sign up in order to post.