JSFiddle - React, Tailwind, and code Playground
by Andrea Scanu
HTML
<div id="response"></div>
JavaScript
function fetchMember(id) {
$.post('/echo/html/', {html:('Response to '+ id)},
function(data){
$('#response').append(data+'<br>');
});
}
for (id = 1; id <= 6; id++) {
fetchMember(id);
}
/* 1 metodo
Vantagi:
1 nessun tempo di attesa se non specificato
*/