AJAX É VIDA!!
SE FOR FALAR/USAR DE REQUISIÇÃO ASYNC
LEIAM ESTE ARTIGO DA DEVMIDIA:
https://www.devmedia.com.br/ajax-com-jquery-trabalhando-com-requisicoes-assincronas/37141
DEPOIS LEIAM ESTE DO JQUERY:
https://api.jquery.com/jquery.ajax/
Access unlimited bootcamps and 650+ courses