Answer the question
In order to leave comments, you need to log in
How to intercept dynamic data draw event in bootstrap modal?
There is some bootstrap modal window with id = "my_modal". I add dynamically filling the body of the dialog box in jquery like this:
1. Create a div id with a span<div class="modal-body"> ... </div>
$('#my_modal .modal-body').append($("<div id='my_test_id'>Имя<span>Значение</span></div>"));
$('#my_test_id span').text('Что-то там...');
Answer the question
In order to leave comments, you need to log in
I didn't quite understand the situation. If your promises are running faster than rendering, then why print this intermediate information at all? The user will not have time to read it. Display a loading indicator initially and fill the tag with a value at the very end. Or add a new tag to the end, and hide the previous one with animation - it will be more beautiful.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question