Show quoted text 5 lines
<script> // Fun??o para atualizar a tabela function atualizarTabela() { //
Fazer uma solicita??o AJAX ao servidor $.ajax({ url: "/api/dados", success:
function(dados) { // Atualizar a tabela com os dados recebidos $("#tabela
tbody").html(dados); } }); }
I want to add this script to the end of my page to keep updating. Is it possible to do this, or is it better to put it in the html file? -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230825/aab11522/attachment.htm>
