2
I have the following code:
<div id="conteudo"></div>
<script>
var qnt_result_pg = 20;
var busca = "";
var pagina = 1;
$(document).ready(function () {
listar_usuario(pagina, qnt_result_pg, busca);
});
function listar_usuario(pagina, qnt_result_pg, busca){
var dados = {
pagina: pagina,
busca: busca,
qnt_result_pg: qnt_result_pg
}
$.post('<?php echo $caminhoAbsoluto; ?>/listar-pagamentos-pendentes.php', dados , function(retorna){
$("#conteudo").html(retorna);
});
}
</script>
It returns me the list of registered users on my page, but the bank has more than 7 thousand registrations and even have put a pagination, it takes a few seconds to open. How can I make a loading appear while the content is not loaded?
Thank you Laércio. A Merry Christmas to all of you!
– user24136
You too, friend. A hug!
– Laércio Lopes