async function get_post(id) { // id или url в вашем случае - ajaxcomm.php, ajaxtabs.php и т.д.
return await fetch('https://jsonplaceholder.typicode.com/posts/' + id)
.then((response) => response.json())
.then((json) => json);
}
.done(function(data)