K
K
kickass772021-04-11 04:47:35
AJAX
kickass77, 2021-04-11 04:47:35

How to make ajax output design?

I output the result through

$('.ajax-reply').html( html );

Here.

<div class="ajax-reply"></div>

How to add some design to the line above? I wanted to output through this:

<div class="alert alert-secondary" role="alert">текст</div>


But this div is added immediately before the result is displayed and it doesn't look very nice.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question